瀏覽代碼

人员档案卡中文论文接口更新

wy 3 月之前
父節點
當前提交
fa9e80a34e

+ 10 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/employee/dto/ChinesePaperDTO.java

@@ -6,6 +6,8 @@ import io.swagger.annotations.ApiModelProperty;
 public class ChinesePaperDTO extends ZwlwPo {
     @ApiModelProperty(value = "备注")
     private String childBeiZhu;
+    @ApiModelProperty(value = "备注")
+    private String childGeRenPaiMing;
 
     public String getChildBeiZhu() {
         return childBeiZhu;
@@ -14,4 +16,12 @@ public class ChinesePaperDTO extends ZwlwPo {
     public void setChildBeiZhu(String childBeiZhu) {
         this.childBeiZhu = childBeiZhu;
     }
+
+    public String getChildGeRenPaiMing() {
+        return childGeRenPaiMing;
+    }
+
+    public void setChildGeRenPaiMing(String childGeRenPaiMing) {
+        this.childGeRenPaiMing = childGeRenPaiMing;
+    }
 }

+ 1 - 1
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/employee/persistence/mapping/Zwlw.map.xml

@@ -88,7 +88,7 @@
 			</foreach>  		
 			ORDER BY ID_ DESC			
 	</select>
-	<select id="findByEmployeeId" resultMap="ZwlwPo">
+	<select id="findByEmployeeId" resultMap="ChinesePaperDTO">
 		SELECT p.*,c.GE_REN_PAI_MING_ childGeRenPaiMing,c.bei_zhu_ childBeiZhu  FROM T_ZWLW p
 			JOIN T_ZWLWglb c
 				ON c.tenant_id_=p.id_ AND c.parent_id_=#{employeeId}