考核任务与生成汇总倒序排列

main 30
hshansha 5 months ago
parent 47a06da2f1
commit c4771b193a

@ -27,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="tableHeader != null and tableHeader != ''"> and table_header = #{tableHeader}</if>
<if test="tableData != null and tableData != ''"> and table_data = #{tableData}</if>
</where>
ORDER BY id DESC
</select>
<select id="selectKhGatherById" parameterType="Long" resultMap="KhGatherResult">

@ -40,7 +40,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectKhPingceList" parameterType="KhPingce" resultMap="KhPingceResult">
<include refid="selectKhPingceVo"></include>
/*select p.*, emp_id,emp_name,dept_id,dept_name from kh_pingce p left join kh_pc_emp pe on p.id=pe.pc_id*/
<where>
<if test="pcTitle != null and pcTitle != ''"> and pc_title = #{pcTitle}</if>
<if test="pcDescription != null and pcDescription != ''"> and pc_description = #{pcDescription}</if>
@ -49,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pcResultId != null "> and pc_result_id = #{pcResultId}</if>
<if test="state != null and state != ''"> and state = #{state}</if>
</where>
ORDER BY id DESC
</select>
<select id="getBkhdxs" resultMap="BkhdxsResult">

Loading…
Cancel
Save