|
@@ -695,6 +695,7 @@ public class VerificationServiceImpl extends CommonBaseServiceImpl<VerificationM
|
|
|
*/
|
|
*/
|
|
|
private void updateResAuditCustomer(VerificationDTO verificationDTO){
|
|
private void updateResAuditCustomer(VerificationDTO verificationDTO){
|
|
|
String kind = verificationDTO.getVc_kind();
|
|
String kind = verificationDTO.getVc_kind();
|
|
|
|
|
+ kind = transferKind(kind);
|
|
|
if(kind.equals("receipts_offset_receivable")){
|
|
if(kind.equals("receipts_offset_receivable")){
|
|
|
Customer customerData = recbalanceMapper.selectCustomerByPrimaryKey(verificationDTO.getVc_custid());
|
|
Customer customerData = recbalanceMapper.selectCustomerByPrimaryKey(verificationDTO.getVc_custid());
|
|
|
Double preamount = customerData.getCu_preamount()==null?new Double(0):customerData.getCu_preamount();
|
|
Double preamount = customerData.getCu_preamount()==null?new Double(0):customerData.getCu_preamount();
|
|
@@ -780,6 +781,7 @@ public class VerificationServiceImpl extends CommonBaseServiceImpl<VerificationM
|
|
|
*/
|
|
*/
|
|
|
private void updateResAuditVendor(VerificationDTO verificationDTO){
|
|
private void updateResAuditVendor(VerificationDTO verificationDTO){
|
|
|
String kind = verificationDTO.getVc_kind();
|
|
String kind = verificationDTO.getVc_kind();
|
|
|
|
|
+ kind = transferKind(kind);
|
|
|
if(kind.equals("prepaid_offset_payable")){
|
|
if(kind.equals("prepaid_offset_payable")){
|
|
|
Vendor vendorData = paybalanceMapper.selectVendorByPrimaryKey(verificationDTO.getVc_vendid());
|
|
Vendor vendorData = paybalanceMapper.selectVendorByPrimaryKey(verificationDTO.getVc_vendid());
|
|
|
Double preamount = vendorData.getVe_preamount()==null?new Double(0):vendorData.getVe_preamount();
|
|
Double preamount = vendorData.getVe_preamount()==null?new Double(0):vendorData.getVe_preamount();
|