Commit 683544cc authored by 刘林's avatar 刘林

Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into…

Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into develop_tzs_register_to_0715
parents 32823dae 9fd44051
...@@ -166,6 +166,9 @@ public class JgReformNoticeDto extends BaseDto { ...@@ -166,6 +166,9 @@ public class JgReformNoticeDto extends BaseDto {
@ApiModelProperty(value = "设备类别名称") @ApiModelProperty(value = "设备类别名称")
private String equCategoryName; private String equCategoryName;
@ApiModelProperty(value = "工程装置名称")
private String projectContraption;
/* ---------------- -------------- */ /* ---------------- -------------- */
@ApiModelProperty (value = "告知设备列表") @ApiModelProperty (value = "告知设备列表")
......
...@@ -177,6 +177,12 @@ public class JgReformNotice extends BaseEntity { ...@@ -177,6 +177,12 @@ public class JgReformNotice extends BaseEntity {
private String constructionManagerId; private String constructionManagerId;
/** /**
* 工程装置名称
*/
@TableField("project_contraption")
private String projectContraption;
/**
* 施工负责人手机 * 施工负责人手机
*/ */
@TableField("construction_manager_phone") @TableField("construction_manager_phone")
......
...@@ -306,7 +306,6 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto ...@@ -306,7 +306,6 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
} }
JgMaintainNotice notice = jgMaintainNoticeMapper.selectById(noticeDto.getSequenceNbr()); JgMaintainNotice notice = jgMaintainNoticeMapper.selectById(noticeDto.getSequenceNbr());
this.checkRepeatUsed(submitType, notice);
// submitType=1为流程提交否则仅为保存业务数据 // submitType=1为流程提交否则仅为保存业务数据
if (SUBMIT_TYPE_FLOW.equals(submitType)) { if (SUBMIT_TYPE_FLOW.equals(submitType)) {
ProcessTaskDTO processTaskDTO = new ProcessTaskDTO(); ProcessTaskDTO processTaskDTO = new ProcessTaskDTO();
......
...@@ -425,14 +425,15 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg ...@@ -425,14 +425,15 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
notice.setCreateUserName(reginParams.getUserModel().getRealName()); notice.setCreateUserName(reginParams.getUserModel().getRealName());
notice.setCreateUserId(reginParams.getUserModel().getUserId()); notice.setCreateUserId(reginParams.getUserModel().getUserId());
notice.setCreateUserCompanyName(reginParams.getCompany().getCompanyName()); notice.setCreateUserCompanyName(reginParams.getCompany().getCompanyName());
notice.setProjectContraption(String.valueOf(jsonObject.get("projectContraption")));
String equListCode = String.valueOf(jsonObject.get("EQU_LIST_CODE")); String equListCode = String.valueOf(jsonObject.get("EQU_LIST_CODE"));
String equCategoryCode = String.valueOf(jsonObject.get("EQU_CATEGORY_CODE")); String equCategoryCode = String.valueOf(jsonObject.get("EQU_CATEGORY_CODE"));
notice.setEquListCode(equListCode); notice.setEquListCode(equListCode);
EquipmentCategory equipmentCategory1 = equipmentCategoryMapper.selectOne(new LambdaQueryWrapper<EquipmentCategory>().eq(EquipmentCategory::getCode, equListCode)); EquipmentCategory equipmentCategory1 = equipmentCategoryMapper.selectOne(new LambdaQueryWrapper<EquipmentCategory>().eq(EquipmentCategory::getCode, equListCode));
notice.setEquListName(equipmentCategory1.getName()); notice.setEquListName(ValidationUtil.isEmpty(equipmentCategory1) ? null : equipmentCategory1.getName());
notice.setEquCategoryCode(equCategoryCode); notice.setEquCategoryCode(equCategoryCode);
EquipmentCategory equipmentCategory2 = equipmentCategoryMapper.selectOne(new LambdaQueryWrapper<EquipmentCategory>().eq(EquipmentCategory::getCode, equCategoryCode)); EquipmentCategory equipmentCategory2 = equipmentCategoryMapper.selectOne(new LambdaQueryWrapper<EquipmentCategory>().eq(EquipmentCategory::getCode, equCategoryCode));
notice.setEquCategoryName(equipmentCategory2.getName()); notice.setEquCategoryName(ValidationUtil.isEmpty(equipmentCategory2) ? null : equipmentCategory2.getName());
// 统计用 // 统计用
notice.setReceiveCompanyOrgCode(companyBo.getOrgCode()); notice.setReceiveCompanyOrgCode(companyBo.getOrgCode());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment