Commit 073b5230 by wangqi

帮扶组

parent 0888247c
......@@ -26,6 +26,8 @@ public class SjBfzbfdx extends BaseEntity
private Long deptId;
private String deptName;
private String deptLx;
public void setId(Long id)
{
......@@ -61,4 +63,12 @@ public class SjBfzbfdx extends BaseEntity
public void setDeptName(String deptName) {
this.deptName = deptName;
}
public String getDeptLx() {
return deptLx;
}
public void setDeptLx(String deptLx) {
this.deptLx = deptLx;
}
}
......@@ -46,7 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="xxly != null and xxly != ''"> and xxly = #{xxly}</if>
<if test="lxmc != null and lxmc != ''"> and lxmc = #{lxmc}</if>
<if test="wznr != null and wznr != ''"> and wznr = #{wznr}</if>
<if test="wzbt != null and wzbt != ''"> and wzbt = #{wzbt}</if>
<if test="wzbt != null and wzbt != ''"> and wzbt like concat('%', #{wzbt}, '%')</if>
<if test="shzt != null and shzt != ''"> and shzt = #{shzt}</if>
<if test="fjmc != null and fjmc != ''"> and fjmc = #{fjmc}</if>
<if test="fjdz != null and fjdz != ''"> and fjdz = #{fjdz}</if>
......
......@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="lrsj" column="lrsj" />
<result property="xgr" column="xgr" />
<result property="xgsj" column="xgsj" />
<result property="deptLx" column="dept_lx" />
<result property="bz" column="bz" />
<result property="deptNames" column="deptNames" />
</resultMap>
......@@ -140,7 +141,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectBfdxlist" parameterType="SjBfzbfdx" resultMap="SjBfzbfdxResult">
select bfdx.id, bfdx.dept_id, CONCAT(p.dept_name,'/',c.dept_name) dept_name from sj_bfzbfdx bfdx
select bfdx.id, bfdx.dept_id, CONCAT(p.dept_name,'/',c.dept_name) dept_name, c.dept_lx from sj_bfzbfdx bfdx
LEFT JOIN sys_dept c on bfdx.dept_id = c.dept_id
LEFT JOIN sys_dept p on c.parent_id = p.dept_id
<where>
......
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