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