|
@@ -42,11 +42,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where id = #{id}
|
|
|
</select>
|
|
|
|
|
|
- <select id="selectZsyzLcjlListQc" resultType="com.ruoyi.system.domain.projectV2.ZsyzLcjl">
|
|
|
+ <!--<select id="selectZsyzLcjlListQc" resultType="com.ruoyi.system.domain.projectV2.ZsyzLcjl">
|
|
|
select ANY_VALUE(id) as id, ANY_VALUE(xm_id) as xm_id, ANY_VALUE(xmbh) as xmbh, ANY_VALUE(xmmc)as xmmc,
|
|
|
ANY_VALUE(dept_id) as dept_id, ANY_VALUE(dept_name) as dept_name, ANY_VALUE(cl_time) as cl_time, ANY_VALUE(progress) as progress
|
|
|
from (select id, xm_id, xmbh, xmmc, dept_id, dept_name, cl_time, progress
|
|
|
from zsyz_lcjl order by xm_id, cl_time desc) a group by xm_id
|
|
|
+ </select>-->
|
|
|
+
|
|
|
+ <select id="selectZsyzLcjlListQc" resultType="com.ruoyi.system.domain.projectV2.ZsyzLcjl">
|
|
|
+ select id, xm_id, xmbh, xmmc,
|
|
|
+ dept_id, dept_name, cl_time, progress
|
|
|
+ from (select id, xm_id, xmbh, xmmc, dept_id, dept_name, cl_time, progress
|
|
|
+ from zsyz_lcjl order by xm_id, cl_time desc) a group by xm_id
|
|
|
</select>
|
|
|
|
|
|
<insert id="insertZsyzLcjl" parameterType="ZsyzLcjl" useGeneratedKeys="true" keyProperty="id">
|