kongzy
2024-01-29 983bdb5b89932b38d08a11ad1eed6ea89d1597e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gkhy.assess.system.mapper.AssEstimateScheduleMapper">
 
    <update id="deleteEstimateScheduleByIds">
        update ass_estimate_schedule set del_flag=1
        where id in
        <foreach collection="ids" item="id" open="(" separator="," close=")">
            #{id}
        </foreach>
    </update>
 
    <select id="getEstimateScheduleByProjectId" resultType="com.gkhy.assess.system.domain.AssEstimateSchedule">
        select * from ass_estimate_schedule
        where project_id=#{projectId} and del_flag=0 order by sort asc
    </select>
</mapper>