Commit d4fb85c7 authored by suhuiguang's avatar suhuiguang

1.自测bug修改

2.es 设备类别text转为keyword
parent c7cfb2e1
...@@ -151,10 +151,20 @@ public class JgMaintenanceContractDto extends BaseDto { ...@@ -151,10 +151,20 @@ public class JgMaintenanceContractDto extends BaseDto {
private List<String> roleIds; private List<String> roleIds;
/**
* 设备种类
*/
private String equList;
/**
* 设备类别
*/
private String equCategory;
/** /**
* 工作流下一节点任务id * 工作流下一节点任务id
*/ */
@TableField(value = "next_task_id")
private String nextTaskId; private String nextTaskId;
/** /**
......
...@@ -276,4 +276,17 @@ public class JgMaintenanceContract extends BaseEntity { ...@@ -276,4 +276,17 @@ public class JgMaintenanceContract extends BaseEntity {
*/ */
@TableField("transfer_to_user_ids") @TableField("transfer_to_user_ids")
private String transferToUserIds; private String transferToUserIds;
/**
* 设备种类
*/
@TableField("equ_list")
private String equList;
/**
* 设备类别
*/
@TableField("equ_category")
private String equCategory;
} }
...@@ -9,7 +9,7 @@ import java.util.List; ...@@ -9,7 +9,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
@Data @Data
public class JgMaintenanceContractVo { public class JgMaintenanceContractVo {
@TableField("使用单位-提交-是否可操作") @TableField("使用单位-提交-是否可操作")
private Boolean submitIsFlag; private Boolean submitIsFlag;
...@@ -138,7 +138,7 @@ import java.util.Map; ...@@ -138,7 +138,7 @@ import java.util.Map;
protected String recUserName; protected String recUserName;
@ApiModelProperty(value = "是否删除") @ApiModelProperty(value = "是否删除")
private Boolean isDelete=false; private Boolean isDelete = false;
@ApiModelProperty("instance_status") @ApiModelProperty("instance_status")
private String instanceStatus; private String instanceStatus;
...@@ -152,10 +152,17 @@ import java.util.Map; ...@@ -152,10 +152,17 @@ import java.util.Map;
@ApiModelProperty("status") @ApiModelProperty("status")
private String status; private String status;
@ApiModelProperty("设备种类")
private String equList;
@ApiModelProperty("设备类别")
private String equCategory;
private List<Map<String, Object>> equipmentLists; private List<Map<String, Object>> equipmentLists;
/** /**
*工作流下一节点任务id * 工作流下一节点任务id
*/ */
@ApiModelProperty("next_task_id") @ApiModelProperty("next_task_id")
private String nextTaskId; private String nextTaskId;
......
...@@ -820,18 +820,17 @@ public class CommonServiceImpl implements ICommonService { ...@@ -820,18 +820,17 @@ public class CommonServiceImpl implements ICommonService {
JSONObject jsonObject = new JSONObject(noticeObj); JSONObject jsonObject = new JSONObject(noticeObj);
return jgChangeRegistrationReformServiceImpl.save(jsonObject); return jgChangeRegistrationReformServiceImpl.save(jsonObject);
} else if (type.equals(ApplicationFormTypeEnum.YZBG.getBusinessCode())) { } else if (type.equals(ApplicationFormTypeEnum.YZBG.getBusinessCode())) {
noticeObj.put("receiveOrgCode", !ObjectUtils.isEmpty(basicObj.get("receiveOrgCreditCode")) ? String.valueOf(basicObj.get("receiveOrgCreditCode")) : String.valueOf(basicObj.get("receiveOrgCreditCode1"))); noticeObj.put("receiveOrgCode", !ObjectUtils.isEmpty(basicObj.get("receiveOrgCreditCode")) ? String.valueOf(basicObj.get("receiveOrgCreditCode")) : String.valueOf(basicObj.get("receiveOrgCreditCode1")));
provideMap.put(YZBG_PAGE_ID, noticeObj); provideMap.put(YZBG_PAGE_ID, noticeObj);
JSONObject jsonObject = new JSONObject(provideMap); JSONObject jsonObject = new JSONObject(provideMap);
return jgChangeRegistrationTransferService.createTransfer(submitType, jsonObject, reginParams); return jgChangeRegistrationTransferService.createTransfer(submitType, jsonObject, reginParams);
} else if (type.equals(ApplicationFormTypeEnum.DWBG.getBusinessCode())) { } else if (type.equals(ApplicationFormTypeEnum.DWBG.getBusinessCode())) {
noticeObj.put("receiveOrgCode", !ObjectUtils.isEmpty(basicObj.get("receiveOrgCreditCode")) ? String.valueOf(basicObj.get("receiveOrgCreditCode")) : String.valueOf(basicObj.get("receiveOrgCreditCode1"))); noticeObj.put("receiveOrgCode", !ObjectUtils.isEmpty(basicObj.get("receiveOrgCreditCode")) ? String.valueOf(basicObj.get("receiveOrgCreditCode")) : String.valueOf(basicObj.get("receiveOrgCreditCode1")));
provideMap.put(DWBG_PAGE_ID, noticeObj); provideMap.put(DWBG_PAGE_ID, noticeObj);
JSONObject jsonObject = new JSONObject(provideMap); JSONObject jsonObject = new JSONObject(provideMap);
return jgChangeRegistrationUnitServiceImpl.saveNotice(submitType, jsonObject, reginParams); return jgChangeRegistrationUnitServiceImpl.saveNotice(submitType, jsonObject, reginParams);
} else if (type.equals(ApplicationFormTypeEnum.WBBA.getBusinessCode())) { } else if (type.equals(ApplicationFormTypeEnum.WBBA.getBusinessCode())) {
noticeObj.put("equList", basicObj.get("code"));
noticeObj.put("pageType", "add"); noticeObj.put("pageType", "add");
noticeObj.put("receiveOrgCode", !ObjectUtils.isEmpty(basicObj.get("receiveOrgCreditCode")) ? String.valueOf(basicObj.get("receiveOrgCreditCode")) : String.valueOf(basicObj.get("receiveOrgCreditCode1"))); noticeObj.put("receiveOrgCode", !ObjectUtils.isEmpty(basicObj.get("receiveOrgCreditCode")) ? String.valueOf(basicObj.get("receiveOrgCreditCode")) : String.valueOf(basicObj.get("receiveOrgCreditCode1")));
JSONObject jsonObject = new JSONObject(noticeObj); JSONObject jsonObject = new JSONObject(noticeObj);
......
...@@ -42,7 +42,7 @@ public class ESEquipmentCategoryDto { ...@@ -42,7 +42,7 @@ public class ESEquipmentCategoryDto {
@Field(type = FieldType.Text) @Field(type = FieldType.Text)
private String EQU_CATEGORY; private String EQU_CATEGORY;
@Field(type = FieldType.Text) @Field(type = FieldType.Keyword)
private String EQU_CATEGORY_CODE; private String EQU_CATEGORY_CODE;
@Field(type = FieldType.Keyword) @Field(type = FieldType.Keyword)
......
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