|
@@ -5,10 +5,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.github.pagehelper.Page;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
import com.sunxung.factoring.component.exception.ValidatorException;
|
|
|
-import com.sunxung.factoring.component.util.CodeUtil;
|
|
|
-import com.sunxung.factoring.component.util.CollectionUtil;
|
|
|
-import com.sunxung.factoring.component.util.ElectronicSignatureUtil;
|
|
|
-import com.sunxung.factoring.component.util.StringUtil;
|
|
|
+import com.sunxung.factoring.component.util.*;
|
|
|
import com.sunxung.factoring.entity.GridPage;
|
|
|
import com.sunxung.factoring.entity.acceptance.AcceptanceSignConfirmationElectronicInfo;
|
|
|
import com.sunxung.factoring.entity.customerinformation.ElectronicSignaturePersonal;
|
|
@@ -59,6 +56,17 @@ public class ElectronicSignaturePersonalServiceImpl extends ServiceImpl<Electron
|
|
|
return new GridPage(rows,page,objectPage.getTotal(),list);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public void flush(Long id) {
|
|
|
+ ElectronicSignaturePersonal electronicSignaturePersonal = getById(id);
|
|
|
+ //获取认证状态
|
|
|
+ String result = ElectronicSignatureUtil.getAuthInfo(electronicSignaturePersonal.getFddCustomerId(), "1");
|
|
|
+ if ("1".equals(result)){
|
|
|
+ electronicSignaturePersonal.setAuthStatus(1);
|
|
|
+ updateById(electronicSignaturePersonal);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public List<ElectronicSignaturePersonal> findByIdForC(Long id) {
|
|
|
List<ElectronicSignaturePersonal> list ;
|