diff --git a/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoBaseDTO.java b/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoBaseDTO.java index 96e8b86..28977ef 100644 --- a/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoBaseDTO.java +++ b/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoBaseDTO.java @@ -61,6 +61,16 @@ public class PopulationInfoBaseDTO { private String phone; @ApiModelProperty(name = "age", value = "年龄") private Integer age; + @ApiModelProperty(name = "创建人", value = "创建人") + private String creator; + + public String getCreator() { + return creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } public String getHealthStatus() { return healthStatus; diff --git a/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoDTO.java b/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoDTO.java index 9eafef8..ce4039e 100644 --- a/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoDTO.java +++ b/src/main/java/com/cm/population/pojo/dtos/populationinfo/PopulationInfoDTO.java @@ -168,6 +168,16 @@ public class PopulationInfoDTO { @ApiModelProperty(name = "age", value = "年龄") @CheckEmptyAnnotation(name = "年龄") private Integer age; + @ApiModelProperty(name = "创建人", value = "创建人") + private String creator; + + public String getCreator() { + return creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } public String getDepartmentType() { return departmentType == null ? "" : departmentType; diff --git a/src/main/resources/mybatis/mapper/dispute/dispute-mapper.xml b/src/main/resources/mybatis/mapper/dispute/dispute-mapper.xml index c2cc571..b89f062 100644 --- a/src/main/resources/mybatis/mapper/dispute/dispute-mapper.xml +++ b/src/main/resources/mybatis/mapper/dispute/dispute-mapper.xml @@ -831,7 +831,8 @@ t1.partyb_idcard, t1.partyb_name, t1.partyb_phone, - t1.dispute_id + t1.dispute_id, + t1.creator FROM population_dispute t1 LEFT JOIN diff --git a/src/main/resources/mybatis/mapper/drug/drug-mapper.xml b/src/main/resources/mybatis/mapper/drug/drug-mapper.xml index 06a5d6b..165ed2d 100644 --- a/src/main/resources/mybatis/mapper/drug/drug-mapper.xml +++ b/src/main/resources/mybatis/mapper/drug/drug-mapper.xml @@ -79,23 +79,23 @@ gmt_modified, is_delete ) VALUES( - #{drugId}, - #{populationInfoId}, - #{startTime}, - #{control}, - #{controlPhone}, - #{help}, - #{helpPhone}, - #{charge}, - #{reason}, - #{reasonOther}, - #{consequence}, - #{creator}, - #{gmtCreate}, - #{modifier}, - #{gmtModified}, - #{isDelete} - ) + #{drugId}, + #{populationInfoId}, + #{startTime}, + #{control}, + #{controlPhone}, + #{help}, + #{helpPhone}, + #{charge}, + #{reason}, + #{reasonOther}, + #{consequence}, + #{creator}, + #{gmtCreate}, + #{modifier}, + #{gmtModified}, + #{isDelete} + ) diff --git a/src/main/resources/mybatis/mapper/petition/petition-mapper.xml b/src/main/resources/mybatis/mapper/petition/petition-mapper.xml index 67a7849..1ef85e4 100644 --- a/src/main/resources/mybatis/mapper/petition/petition-mapper.xml +++ b/src/main/resources/mybatis/mapper/petition/petition-mapper.xml @@ -311,7 +311,8 @@ t2.dictionary_name AS coordinate_name, t1.talk, t3.dictionary_name AS talk_name, - t1.petition_id + t1.petition_id, + t1.creator FROM population_petition t1 LEFT JOIN diff --git a/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml b/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml index 23d6a75..290ae5f 100644 --- a/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml +++ b/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml @@ -18,6 +18,7 @@ + @@ -95,6 +96,7 @@ + @@ -663,7 +665,8 @@ t1.is_disability, t1.is_military, t1.is_succour, - t1.is_party + t1.is_party, + t1.creator FROM population_population_info t1 WHERE @@ -1004,7 +1007,8 @@ t1.is_party, t1.party_organization, t1.party_time, - t1.othertext + t1.othertext, + t1.creator FROM population_population_info t1 WHERE diff --git a/src/main/resources/mybatis/mapper/release/release-mapper.xml b/src/main/resources/mybatis/mapper/release/release-mapper.xml index 35dce31..7c91950 100644 --- a/src/main/resources/mybatis/mapper/release/release-mapper.xml +++ b/src/main/resources/mybatis/mapper/release/release-mapper.xml @@ -71,21 +71,21 @@ gmt_modified, is_delete ) VALUES( - #{releaseId}, - #{populationInfoId}, - #{charge}, - #{prisonTerm}, - #{type}, - #{organization}, - #{superviseTime}, - #{isRelease}, - #{releaseTime}, - #{creator}, - #{gmtCreate}, - #{modifier}, - #{gmtModified}, - #{isDelete} - ) + #{releaseId}, + #{populationInfoId}, + #{charge}, + #{prisonTerm}, + #{type}, + #{organization}, + #{superviseTime}, + #{isRelease}, + #{releaseTime}, + #{creator}, + #{gmtCreate}, + #{modifier}, + #{gmtModified}, + #{isDelete} + ) @@ -229,25 +229,25 @@ SELECT - t1.security_id, - t1.population_info_id, - t1.charge, - t1.time, - t1.security_address, - t1.security_area_code, - t1.security_area_name, - t1.lat, - t1.lng, - t1.map_address, - t1.degree, - t1.creator, - t1.gmt_create, - t1.modifier, - t1.gmt_modified, - t1.is_delete, - t1.acceptance_population_info_id, - t1.acceptance_name, - t1.acceptance_idcard, - t1.acceptance_phone, - t1.handle_population_info_id, - t1.handle_name, - t1.handle_idcard, - t1.handle_phone + t1.security_id, + t1.population_info_id, + t1.charge, + t1.time, + t1.security_address, + t1.security_area_code, + t1.security_area_name, + t1.lat, + t1.lng, + t1.map_address, + t1.degree, + t1.creator, + t1.gmt_create, + t1.modifier, + t1.gmt_modified, + t1.is_delete, + t1.acceptance_population_info_id, + t1.acceptance_name, + t1.acceptance_idcard, + t1.acceptance_phone, + t1.handle_population_info_id, + t1.handle_name, + t1.handle_idcard, + t1.handle_phone, + t1.creator FROM - population_security t1 + population_security t1 WHERE - t1.is_delete = 0 + t1.is_delete = 0 AND t1.degree = #{degree}