|
@@ -173,7 +173,7 @@ public class IdentityAuthenticationInfoServiceImpl extends ServiceImpl<IdentityA
|
|
|
this.selectOne(new EntityWrapper<IdentityAuthenticationInfo>()
|
|
|
.eq(IdentityAuthenticationInfo.QueryFiles.COMMON_ID, commonId)
|
|
|
.eq(IdentityAuthenticationInfo.QueryFiles.DELETE_FLAG, NumberConstant.CONSTANT0));
|
|
|
- if(!StringUtils.isEmpty(identityAuthenticationInfo.getId())){
|
|
|
+ if(identityAuthenticationInfo!=null){
|
|
|
//身份审核中
|
|
|
if ("1".equals(identityAuthenticationInfo.getAuthenticationStatusKey())){
|
|
|
throw new AppServiceException(ExceptionDefinition.IDENTITY_IS_BEING_AUDITED);
|
|
@@ -238,6 +238,22 @@ public class IdentityAuthenticationInfoServiceImpl extends ServiceImpl<IdentityA
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * 粮商认证列表PC端
|
|
|
+ * @param identityAuthenticationInfo
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public Page<IdentityAuthenticationInfo> selectIdentityAuthenticationInfoPc(IdentityAuthenticationInfo identityAuthenticationInfo) {
|
|
|
+ Page<IdentityAuthenticationInfo> recommendedIdentityAuthenticationInfoPage = this.selectPage(identityAuthenticationInfo.getQueryPage(), new EntityWrapper<IdentityAuthenticationInfo>()
|
|
|
+ .eq(IdentityAuthenticationInfo.QueryFiles.COMP_ID,identityAuthenticationInfo.getCompId())
|
|
|
+ .eq(IdentityAuthenticationInfo.QueryFiles.DELETE_FLAG, NumberConstant.CONSTANT0)
|
|
|
+ .orderBy("update_date", false));
|
|
|
+ List<IdentityAuthenticationInfo> identityAuthenticationInfoList = recommendedIdentityAuthenticationInfoPage.getRecords();
|
|
|
+ recommendedIdentityAuthenticationInfoPage.setRecords(identityAuthenticationInfoList);
|
|
|
+ return recommendedIdentityAuthenticationInfoPage;
|
|
|
+ }
|
|
|
+
|
|
|
public void DBConnection(){
|
|
|
try{
|
|
|
//加载驱动程序
|