陈昶聿
4 天以前 05c82d89b6df8c236feb0e4dc3f83f18e8414df0
smartor/src/main/resources/mapper/smartor/ServiceSubtaskRecordMapper.xml
@@ -74,6 +74,14 @@
            <if test="remark != null  and remark != ''">and remark = #{remark}</if>
    </select>
    <select id="selectServiceSubtaskRecordBySubtaskIds" resultMap="ServiceSubtaskRecordResult">
        <include refid="selectServiceSubtaskRecordVo"/>
        where subtask_id IN
        <foreach collection="list" item="subtaskId" open="(" separator="," close=")">
            #{subtaskId}
        </foreach>
    </select>
    <select id="selectServiceSubtaskRecordById" parameterType="Long" resultMap="ServiceSubtaskRecordResult">
        <include refid="selectServiceSubtaskRecordVo"/>
        where id = #{id}