修复员工导入jar错误问题,添加返回给担保函时删除驳回信息操作

master
river 4 years ago
parent 79f5dc3dbd
commit a4ec4525e4
  1. 3
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgLoanCommitteeConsiderMapper.java
  2. 4
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgLoanCommitteeConsiderServiceImpl.java
  3. 4
      dq-financial-guarantee/src/main/resources/bootstrap.properties
  4. 2
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanCommitteeConsiderMapper.xml
  5. 2
      dq-financial-hrms/src/main/java/com/daqing/financial/hrms/service/impl/EmployeeServiceImpl.java
  6. 5
      dq-framework-utils/pom.xml

@ -50,7 +50,8 @@ public interface DgLoanCommitteeConsiderMapper extends BaseMapper<DgLoanCommitte
@Param("refuseOpinion") String opinion); @Param("refuseOpinion") String opinion);
Boolean updateGuaranteeLetterAssignUser(@Param("businessId") Integer businessId, @Param("roleId") Integer roleId, Boolean updateGuaranteeLetterAssignUser(@Param("businessId") Integer businessId, @Param("roleId") Integer roleId,
@Param("auditStatus") Integer auditStatus, @Param("operatingStatus") Integer operatingStatus); @Param("auditStatus") Integer auditStatus, @Param("operatingStatus") Integer operatingStatus,
@Param("auditOpinion") String auditOpinion);
Integer getAuditStatus(Integer id); Integer getAuditStatus(Integer id);

@ -129,10 +129,10 @@ public class DgLoanCommitteeConsiderServiceImpl extends ServiceImpl<DgLoanCommit
if (result2) { if (result2) {
Boolean result1; Boolean result1;
if (count > 0) { if (count > 0) {
// 当前贷审会的操作状态为驳回,表示为担保函驳回数据,改变担保函的法规部经理的操作状态为待处理,审核状态为审核中 // 当前贷审会的数据存在,表示为担保函驳回数据,改变担保函的法规部经理的操作状态为待处理,审核状态为审核中
result1 = this.getBaseMapper().updateGuaranteeLetterAssignUser( result1 = this.getBaseMapper().updateGuaranteeLetterAssignUser(
this.getBaseMapper().getDgLoanCommitteeConsider(dgLoanCommitteeConsiderRequest.getId()).getBusinessId(), this.getBaseMapper().getDgLoanCommitteeConsider(dgLoanCommitteeConsiderRequest.getId()).getBusinessId(),
PromptSuccess.FG_JL_ID, StatusCode.SP_IN_REVIEW, StatusCode.CZ_ON_HAND); PromptSuccess.FG_JL_ID, StatusCode.SP_IN_REVIEW, StatusCode.CZ_ON_HAND,"");
} else { } else {
// 当前贷审会的操作状态不为驳回,表示不是担保函驳回数据,在担保函表中插入一条数据 // 当前贷审会的操作状态不为驳回,表示不是担保函驳回数据,在担保函表中插入一条数据
DgGuaranteeLetterAssignUser guaranteeLetterAssignUser = new DgGuaranteeLetterAssignUser(); DgGuaranteeLetterAssignUser guaranteeLetterAssignUser = new DgGuaranteeLetterAssignUser();

@ -1,6 +1,6 @@
#服务名称 #服务名称
spring.application.name=dq-financial-guarantee #spring.application.name=dq-financial-guarantee
#配置中心地址 ##配置中心地址
spring.cloud.nacos.config.server-addr=192.168.31.140:8848 spring.cloud.nacos.config.server-addr=192.168.31.140:8848
spring.cloud.nacos.config.namespace=58fa89c6-0e23-4530-ac13-95747e873c60 spring.cloud.nacos.config.namespace=58fa89c6-0e23-4530-ac13-95747e873c60
#spring.cloud.nacos.config.group=prod #spring.cloud.nacos.config.group=prod

@ -137,7 +137,7 @@
<!-- 根据业务id和角色id更新担保函数据 --> <!-- 根据业务id和角色id更新担保函数据 -->
<update id="updateGuaranteeLetterAssignUser"> <update id="updateGuaranteeLetterAssignUser">
UPDATE dg_guarantee_letter_assign_user SET status = #{auditStatus},operating_status = #{operatingStatus} UPDATE dg_guarantee_letter_assign_user SET status = #{auditStatus},operating_status = #{operatingStatus},audit_opinion = #{auditOpinion}
WHERE business_id = #{businessId} AND role_id = #{roleId} WHERE business_id = #{businessId} AND role_id = #{roleId}
</update> </update>

@ -539,7 +539,7 @@ public class EmployeeServiceImpl extends ServiceImpl<EmployeeDao, EmployeeEntity
if (roleIds.size() != roleNames.length) { if (roleIds.size() != roleNames.length) {
ExceptionCast.cast(HrmsCode.EMPLOYEE_ROLE_NAME_IS_NOT); ExceptionCast.cast(HrmsCode.EMPLOYEE_ROLE_NAME_IS_NOT);
} }
this.getBaseMapper().insertRole(employee.getId(), new ArrayList<>(roleIds)); this.getBaseMapper().insertRole(user.getId(), new ArrayList<>(roleIds));
} }
return true; return true;
} }

@ -52,6 +52,11 @@
<artifactId>poi-ooxml-schemas</artifactId> <artifactId>poi-ooxml-schemas</artifactId>
<version>3.15</version> <version>3.15</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>ooxml-schemas</artifactId>
<version>1.0</version>
</dependency>
<dependency> <dependency>
<groupId>org.apache.tomcat.embed</groupId> <groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId> <artifactId>tomcat-embed-core</artifactId>

Loading…
Cancel
Save