Commit 2438b968 by 翁国栋

导入被保人员

parent 9c5fb399
......@@ -133,4 +133,6 @@ public interface YgglMainEmpMapper extends BaseMapper<YgglMainEmp> {
List<DepartmentStaffDto> DepartmentStaff(Integer orgcode,Integer upid);
List<YgglMainEmp> selectListByIds(@Param("array")String[] ids);
List<YgglMainEmp> selectListByIZjNum(@Param("array")String[] zjNum,@Param("orgCode") Integer orgCode);
}
......@@ -77,4 +77,7 @@ public class YgQueryDto extends Page {
@ApiModelProperty(value="是否已购买保险",example = "0")
private Integer isInsure;
@ApiModelProperty(value="证件号码 ",example="证件号码")
private String zjNum;
}
......@@ -241,7 +241,8 @@
a.job_status jobStatus,
a.head_url headUrl,
a.sex sex,
a.is_insure isInsure
a.is_insure isInsure,
a.zj_num zjNum
FROM
yggl_main_emp a
LEFT JOIN zzgl_bmgw_m b ON a.bmgw_id = b.id
......@@ -412,4 +413,13 @@
</foreach>
</select>
<select id="selectListByIZjNum" resultType="cn.timer.api.bean.yggl.YgglMainEmp">
SELECT
<include refid="Base_Column_List"/>
FROM yggl_main_emp
WHERE org_code = #{orgCode} and zj_num IN
<foreach item="zjnum" collection="array" open="(" separator="," close=")">
#{zjnum}
</foreach>
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment