党组织管理新增字段。
This commit is contained in:
parent
8667b7151f
commit
dfa8c45e72
@ -82,6 +82,10 @@ public class PartyOrganizeDTO {
|
||||
private String creatTime;
|
||||
@ApiModelProperty(name = "remake", value = "备注")
|
||||
private String remake;
|
||||
@ApiModelProperty(name = "belongStreet", value = "所属街镇村ID")
|
||||
private String belongStreet;
|
||||
@ApiModelProperty(name = "belongStreetName", value = "所属街镇村名称")
|
||||
private String belongStreetName;
|
||||
|
||||
public String getPartyOrganizeId() {
|
||||
return partyOrganizeId == null ? "" : partyOrganizeId.trim();
|
||||
@ -351,5 +355,19 @@ public class PartyOrganizeDTO {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -77,6 +77,10 @@ public class PartyOrganizeVO {
|
||||
private String creatTime;
|
||||
@ApiModelProperty(name = "remake", value = "备注")
|
||||
private String remake;
|
||||
@ApiModelProperty(name = "belongStreet", value = "所属街镇村ID")
|
||||
private String belongStreet;
|
||||
@ApiModelProperty(name = "belongStreetName", value = "所属街镇村名称")
|
||||
private String belongStreetName;
|
||||
|
||||
public String getIntroduction() {
|
||||
return introduction == null ? "" : introduction.trim();
|
||||
@ -310,5 +314,19 @@ public class PartyOrganizeVO {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -37,6 +37,8 @@
|
||||
<result column="position" property="position"/>
|
||||
<result column="creat_time" property="creatTime"/>
|
||||
<result column="remake" property="remake"/>
|
||||
<result column="belong_street" property="belongStreet"/>
|
||||
<result column="belong_street_name" property="belongStreetName"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 新增党组织 -->
|
||||
@ -72,6 +74,8 @@
|
||||
position,
|
||||
creat_time,
|
||||
remake,
|
||||
belong_street,
|
||||
belong_street_name,
|
||||
creator,
|
||||
gmt_create,
|
||||
modifier,
|
||||
@ -108,6 +112,8 @@
|
||||
#{position},
|
||||
#{creatTime},
|
||||
#{remake},
|
||||
#{belongStreet},
|
||||
#{belongStreetName},
|
||||
#{creator},
|
||||
#{gmtCreate},
|
||||
#{modifier},
|
||||
@ -233,6 +239,12 @@
|
||||
</if>
|
||||
<if test="remake != null and 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>
|
||||
modifier = #{modifier},
|
||||
gmt_modified = #{gmtModified}
|
||||
@ -272,6 +284,8 @@
|
||||
t1.position,
|
||||
t1.creat_time,
|
||||
t1.remake,
|
||||
t1.belong_street,
|
||||
t1.belong_street_name,
|
||||
t1.party_organize_id
|
||||
FROM
|
||||
gen_party_organize t1
|
||||
@ -318,6 +332,8 @@
|
||||
t1.position,
|
||||
t1.creat_time,
|
||||
t1.remake,
|
||||
t1.belong_street,
|
||||
t1.belong_street_name,
|
||||
t1.party_organize_id
|
||||
FROM
|
||||
gen_party_organize t1
|
||||
@ -428,6 +444,8 @@
|
||||
t1.position,
|
||||
t1.creat_time,
|
||||
t1.remake,
|
||||
t1.belong_street,
|
||||
t1.belong_street_name,
|
||||
t1.party_organize_id
|
||||
FROM
|
||||
gen_party_organize t1
|
||||
|
@ -84,6 +84,17 @@
|
||||
</script>
|
||||
</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">
|
||||
<label class="layui-form-label">自治区</label>
|
||||
<div class="layui-input-block layui-form" id="areaSelectTemplateBox" lay-filter="areaSelectTemplateBox"></div>
|
||||
@ -734,6 +745,7 @@
|
||||
var loadLayerIndex;
|
||||
formData.field['introduction'] = wangEditorObj['introduction'].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) {
|
||||
var layerIndex = top.dialog.msg(top.dataMessage.commitSuccess, {
|
||||
time: 0,
|
||||
|
@ -84,6 +84,17 @@
|
||||
</script>
|
||||
</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">
|
||||
<label class="layui-form-label">自治区</label>
|
||||
<div class="layui-input-block layui-form" id="areaSelectTemplateBox" lay-filter="areaSelectTemplateBox"></div>
|
||||
@ -807,6 +818,7 @@
|
||||
var loadLayerIndex;
|
||||
formData.field['introduction'] = wangEditorObj['introduction'].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) {
|
||||
var layerIndex = top.dialog.msg(top.dataMessage.updateSuccess, {
|
||||
time: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user