党组织管理新增字段。

This commit is contained in:
Renpc-kilig 2020-12-31 10:41:23 +08:00
parent 8667b7151f
commit dfa8c45e72
5 changed files with 78 additions and 0 deletions

View File

@ -82,6 +82,10 @@ public class PartyOrganizeDTO {
private String creatTime; private String creatTime;
@ApiModelProperty(name = "remake", value = "备注") @ApiModelProperty(name = "remake", value = "备注")
private String remake; private String remake;
@ApiModelProperty(name = "belongStreet", value = "所属街镇村ID")
private String belongStreet;
@ApiModelProperty(name = "belongStreetName", value = "所属街镇村名称")
private String belongStreetName;
public String getPartyOrganizeId() { public String getPartyOrganizeId() {
return partyOrganizeId == null ? "" : partyOrganizeId.trim(); return partyOrganizeId == null ? "" : partyOrganizeId.trim();
@ -351,5 +355,19 @@ public class PartyOrganizeDTO {
this.remake = remake; this.remake = remake;
} }
public String getBelongStreet() {
return belongStreet == null ? "" : belongStreet;
}
public void setBelongStreet(String belongStreet) {
this.belongStreet = belongStreet;
}
public String getBelongStreetName() {
return belongStreetName == null ? "" : belongStreetName;
}
public void setBelongStreetName(String belongStreetName) {
this.belongStreetName = belongStreetName;
}
} }

View File

@ -77,6 +77,10 @@ public class PartyOrganizeVO {
private String creatTime; private String creatTime;
@ApiModelProperty(name = "remake", value = "备注") @ApiModelProperty(name = "remake", value = "备注")
private String remake; private String remake;
@ApiModelProperty(name = "belongStreet", value = "所属街镇村ID")
private String belongStreet;
@ApiModelProperty(name = "belongStreetName", value = "所属街镇村名称")
private String belongStreetName;
public String getIntroduction() { public String getIntroduction() {
return introduction == null ? "" : introduction.trim(); return introduction == null ? "" : introduction.trim();
@ -310,5 +314,19 @@ public class PartyOrganizeVO {
this.remake = remake; this.remake = remake;
} }
public String getBelongStreet() {
return belongStreet == null ? "" : belongStreet;
}
public void setBelongStreet(String belongStreet) {
this.belongStreet = belongStreet;
}
public String getBelongStreetName() {
return belongStreetName == null ? "" : belongStreetName;
}
public void setBelongStreetName(String belongStreetName) {
this.belongStreetName = belongStreetName;
}
} }

View File

@ -37,6 +37,8 @@
<result column="position" property="position"/> <result column="position" property="position"/>
<result column="creat_time" property="creatTime"/> <result column="creat_time" property="creatTime"/>
<result column="remake" property="remake"/> <result column="remake" property="remake"/>
<result column="belong_street" property="belongStreet"/>
<result column="belong_street_name" property="belongStreetName"/>
</resultMap> </resultMap>
<!-- 新增党组织 --> <!-- 新增党组织 -->
@ -72,6 +74,8 @@
position, position,
creat_time, creat_time,
remake, remake,
belong_street,
belong_street_name,
creator, creator,
gmt_create, gmt_create,
modifier, modifier,
@ -108,6 +112,8 @@
#{position}, #{position},
#{creatTime}, #{creatTime},
#{remake}, #{remake},
#{belongStreet},
#{belongStreetName},
#{creator}, #{creator},
#{gmtCreate}, #{gmtCreate},
#{modifier}, #{modifier},
@ -233,6 +239,12 @@
</if> </if>
<if test="remake != null and remake != ''"> <if test="remake != null and remake != ''">
remake = #{remake}, remake = #{remake},
</if>
<if test="belongStreet != null and belongStreet != ''">
belong_street = #{belongStreet},
</if>
<if test="belongStreetName != null and belongStreetName != ''">
belong_street_name = #{belongStreetName},
</if> </if>
modifier = #{modifier}, modifier = #{modifier},
gmt_modified = #{gmtModified} gmt_modified = #{gmtModified}
@ -272,6 +284,8 @@
t1.position, t1.position,
t1.creat_time, t1.creat_time,
t1.remake, t1.remake,
t1.belong_street,
t1.belong_street_name,
t1.party_organize_id t1.party_organize_id
FROM FROM
gen_party_organize t1 gen_party_organize t1
@ -318,6 +332,8 @@
t1.position, t1.position,
t1.creat_time, t1.creat_time,
t1.remake, t1.remake,
t1.belong_street,
t1.belong_street_name,
t1.party_organize_id t1.party_organize_id
FROM FROM
gen_party_organize t1 gen_party_organize t1
@ -428,6 +444,8 @@
t1.position, t1.position,
t1.creat_time, t1.creat_time,
t1.remake, t1.remake,
t1.belong_street,
t1.belong_street_name,
t1.party_organize_id t1.party_organize_id
FROM FROM
gen_party_organize t1 gen_party_organize t1

View File

@ -84,6 +84,17 @@
</script> </script>
</div> </div>
</div> </div>
<div class="layui-form-item">
<label class="layui-form-label">所属村镇街<span style="color:red;">*</span></label>
<div class="layui-input-block">
<select id="belongStreet" name="belongStreet" lay-verify="required">
<option value="">请选择街镇村</option>
<option value="7ed23f06-566d-43b7-acd9-4f0b5db08974">稀土路街道办事处</option>
<option value="6e922367-f21f-4daf-b38c-c55a67d9a35b">民馨路街道办事处</option>
<option value="8d62a0cc-2c15-4355-906c-6720f8f3617e">万水泉镇</option>
</select>
</div>
</div>
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label">自治区</label> <label class="layui-form-label">自治区</label>
<div class="layui-input-block layui-form" id="areaSelectTemplateBox" lay-filter="areaSelectTemplateBox"></div> <div class="layui-input-block layui-form" id="areaSelectTemplateBox" lay-filter="areaSelectTemplateBox"></div>
@ -734,6 +745,7 @@
var loadLayerIndex; var loadLayerIndex;
formData.field['introduction'] = wangEditorObj['introduction'].txt.html(); formData.field['introduction'] = wangEditorObj['introduction'].txt.html();
formData.field['remake'] = wangEditorObj['remake'].txt.html(); formData.field['remake'] = wangEditorObj['remake'].txt.html();
formData.field.belongStreetName = $('#belongStreet').find('option:selected').text();
top.restAjax.post(top.restAjax.path('api/partyorganize/savepartyorganize', []), formData.field, null, function(code, data) { top.restAjax.post(top.restAjax.path('api/partyorganize/savepartyorganize', []), formData.field, null, function(code, data) {
var layerIndex = top.dialog.msg(top.dataMessage.commitSuccess, { var layerIndex = top.dialog.msg(top.dataMessage.commitSuccess, {
time: 0, time: 0,

View File

@ -84,6 +84,17 @@
</script> </script>
</div> </div>
</div> </div>
<div class="layui-form-item">
<label class="layui-form-label">所属村镇街<span style="color:red;">*</span></label>
<div class="layui-input-block">
<select id="belongStreet" name="belongStreet" lay-verify="required">
<option value="">请选择街镇村</option>
<option value="7ed23f06-566d-43b7-acd9-4f0b5db08974">稀土路街道办事处</option>
<option value="6e922367-f21f-4daf-b38c-c55a67d9a35b">民馨路街道办事处</option>
<option value="8d62a0cc-2c15-4355-906c-6720f8f3617e">万水泉镇</option>
</select>
</div>
</div>
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label">自治区</label> <label class="layui-form-label">自治区</label>
<div class="layui-input-block layui-form" id="areaSelectTemplateBox" lay-filter="areaSelectTemplateBox"></div> <div class="layui-input-block layui-form" id="areaSelectTemplateBox" lay-filter="areaSelectTemplateBox"></div>
@ -807,6 +818,7 @@
var loadLayerIndex; var loadLayerIndex;
formData.field['introduction'] = wangEditorObj['introduction'].txt.html(); formData.field['introduction'] = wangEditorObj['introduction'].txt.html();
formData.field['remake'] = wangEditorObj['remake'].txt.html(); formData.field['remake'] = wangEditorObj['remake'].txt.html();
formData.field.belongStreetName = $('#belongStreet').find('option:selected').text();
top.restAjax.put(top.restAjax.path('api/partyorganize/updatepartyorganize/{partyOrganizeId}', [partyOrganizeId]), formData.field, null, function(code, data) { top.restAjax.put(top.restAjax.path('api/partyorganize/updatepartyorganize/{partyOrganizeId}', [partyOrganizeId]), formData.field, null, function(code, data) {
var layerIndex = top.dialog.msg(top.dataMessage.updateSuccess, { var layerIndex = top.dialog.msg(top.dataMessage.updateSuccess, {
time: 0, time: 0,