feat: There is no way the, 56519 企标计划-编辑,引用标准显示null 删除后提交 再次点击还是显示null
This commit is contained in:
@@ -53,12 +53,15 @@ public class EsRevisePlan extends BasePage {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "起草人姓名")
|
||||
@TableField(exist = false)
|
||||
private String drafterName;
|
||||
|
||||
@ApiModelProperty(value = "评审责任人姓名")
|
||||
@TableField(exist = false)
|
||||
private String resPersonName;
|
||||
|
||||
@ApiModelProperty(value = "工作组组长姓名")
|
||||
@TableField(exist = false)
|
||||
private String wgLeaderName;
|
||||
|
||||
@ApiModelProperty(value = "计划标准初稿完成时间")
|
||||
@@ -75,26 +78,33 @@ public class EsRevisePlan extends BasePage {
|
||||
private String unit;
|
||||
|
||||
@ApiModelProperty(value = "起草责任单位名称")
|
||||
@TableField(exist = false)
|
||||
private String unitName;
|
||||
|
||||
@ApiModelProperty(value = "引入企业标准json(标准id)")
|
||||
private String rqbJson;
|
||||
@ApiModelProperty(value = "引入企业标准json(标准名称)")
|
||||
@TableField(exist = false)
|
||||
private String rqbName;
|
||||
@ApiModelProperty(value = "引入企业标准json(标准编号)")
|
||||
@TableField(exist = false)
|
||||
private String rqbCode;
|
||||
@ApiModelProperty(value = "体系结构树(id存储方式是逗号拼接)")
|
||||
private String tsJson;
|
||||
@ApiModelProperty(value = "体系结构树(名称逗号拼接展示)")
|
||||
@TableField(exist = false)
|
||||
private String tsJsonName;
|
||||
@ApiModelProperty(value = "标准范围")
|
||||
private String area;
|
||||
@ApiModelProperty(value = "标准范围")
|
||||
@TableField(exist = false)
|
||||
private String areaName;
|
||||
//企标类别
|
||||
@TableField(exist = false)
|
||||
private String standType;
|
||||
|
||||
// 标准编号
|
||||
@TableField(exist = false)
|
||||
private String standNum;
|
||||
|
||||
|
||||
@@ -109,6 +119,7 @@ public class EsRevisePlan extends BasePage {
|
||||
@TableField("use_level")
|
||||
private String useLevel;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String useLevelName;
|
||||
|
||||
@ApiModelProperty(value = "简述技术指标依据")
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ public class EsRevisePlanServiceImpl extends ServiceImpl<EsRevisePlanDao, EsRevi
|
||||
if (esRevisePlans.size()>0){
|
||||
return "企标名称不能重复,请更换新的企标名称。";
|
||||
}else {
|
||||
esRevisePlanDao.updateOne(esRevisePlan);
|
||||
esRevisePlanDao.updateById(esRevisePlan);
|
||||
return "操作成功";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -304,25 +304,25 @@
|
||||
<update id="updateOne" parameterType="com.adc.da.slrs.esRevisePlan.entity.EsRevisePlan">
|
||||
update es_revise_plan
|
||||
<set>
|
||||
<if test="id != null and id != ''">
|
||||
<if test="id != null">
|
||||
id = #{id},
|
||||
</if>
|
||||
<if test="esName != null and esName != ''">
|
||||
<if test="esName != null">
|
||||
es_name = #{esName},
|
||||
</if>
|
||||
<if test="planStatus != null and planStatus != ''">
|
||||
<if test="planStatus != null">
|
||||
plan_status = #{planStatus},
|
||||
</if>
|
||||
<if test="reviseStatus != null and reviseStatus != ''">
|
||||
<if test="reviseStatus != null">
|
||||
revise_status = #{reviseStatus},
|
||||
</if>
|
||||
<if test="drafter != null and drafter != ''">
|
||||
<if test="drafter != null">
|
||||
drafter = #{drafter},
|
||||
</if>
|
||||
<if test="resPerson != null and resPerson != ''">
|
||||
<if test="resPerson != null">
|
||||
res_person = #{resPerson},
|
||||
</if>
|
||||
<if test="wgLeader != null and wgLeader != ''">
|
||||
<if test="wgLeader != null">
|
||||
wg_leader = #{wgLeader},
|
||||
</if>
|
||||
<if test="draftTime != null">
|
||||
@@ -331,37 +331,37 @@
|
||||
<if test="releaseTime != null">
|
||||
release_time = #{releaseTime},
|
||||
</if>
|
||||
<if test="unit != null and unit != ''">
|
||||
<if test="unit != null">
|
||||
unit = #{unit},
|
||||
</if>
|
||||
<if test="rqbJson != null and rqbJson != ''">
|
||||
<if test="rqbJson != null">
|
||||
rqb_json=#{rqbJson},
|
||||
</if>
|
||||
<if test="tsJson != null and tsJson != ''">
|
||||
<if test="tsJson != null">
|
||||
ts_json=#{tsJson},
|
||||
</if>
|
||||
<if test="area != null and area != ''">
|
||||
<if test="area != null">
|
||||
area=#{area},
|
||||
</if>
|
||||
<if test="esMatingRelations != null and esMatingRelations != ''">
|
||||
<if test="esMatingRelations != null">
|
||||
es_mating_relations=#{esMatingRelations},
|
||||
</if>
|
||||
<if test="esStandRelations != null and esStandRelations != ''">
|
||||
<if test="esStandRelations != null">
|
||||
es_stand_relations=#{esStandRelations},
|
||||
</if>
|
||||
<if test="isRelate != null and isRelate != ''">
|
||||
<if test="isRelate != null">
|
||||
is_relate=#{isRelate},
|
||||
</if>
|
||||
<if test="useLevel != null and useLevel != ''">
|
||||
<if test="useLevel != null">
|
||||
use_level=#{useLevel},
|
||||
</if>
|
||||
<if test="technologic != null and technologic != ''">
|
||||
<if test="technologic != null">
|
||||
technologic=#{technologic},
|
||||
</if>
|
||||
<if test="bussSort != null and bussSort != ''">
|
||||
<if test="bussSort != null">
|
||||
buss_sort=#{bussSort},
|
||||
</if>
|
||||
<if test="lxd != null and lxd != ''">
|
||||
<if test="lxd != null">
|
||||
LXD=#{lxd},
|
||||
</if>
|
||||
</set>
|
||||
|
||||
Reference in New Issue
Block a user