|
@@ -11,6 +11,7 @@ import com.sunxung.factoring.component.util.*;
|
|
|
import com.sunxung.factoring.entity.GridPage;
|
|
|
import com.sunxung.factoring.entity.ResponseJson;
|
|
|
import com.sunxung.factoring.entity.ValidatorEntity;
|
|
|
+import com.sunxung.factoring.entity.acceptance.CAcceptancePriceAdjustInfo;
|
|
|
import com.sunxung.factoring.entity.customerinformation.Customer;
|
|
|
import com.sunxung.factoring.entity.customerinformation.SupplierBankCardInfo;
|
|
|
import com.sunxung.factoring.entity.entprise.Enterprise;
|
|
@@ -398,6 +399,20 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
|
|
|
iEnterpriseService.updateById(enterprise);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public void flushStatusBySop(String code, Integer type) {
|
|
|
+ Enterprise enterprise = iEnterpriseService.getOne(new QueryWrapper<Enterprise>().eq("fdd_customer_id", code)
|
|
|
+ .orderByDesc("gmt_create").last("limit 1"));
|
|
|
+ if (enterprise != null){
|
|
|
+ if (type == 1){
|
|
|
+ enterprise.setAutoSignStatus(1);
|
|
|
+ }else if (type == 2){
|
|
|
+ enterprise.setCertificateSignStatus(1);
|
|
|
+ }
|
|
|
+ iEnterpriseService.updateById(enterprise);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 填充是否能够删除
|
|
|
*
|