Merge remote-tracking branch 'origin/dev-nx' into dev-nx
This commit is contained in:
commit
188bf20b28
|
|
@ -1199,7 +1199,7 @@
|
|||
type_id = #{typeId}
|
||||
</select>
|
||||
<select id="getCheckDetails" resultType="java.lang.Integer">
|
||||
select back_num from back_check_details where parent_id = #{parentId} and type_id = #{typeId} and (is_finished is null or is_finished != 1)
|
||||
select sum(back_num) from back_check_details where parent_id = #{parentId} and type_id = #{typeId} and (is_finished is null or is_finished != 1)
|
||||
</select>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="typeName != null and typeName != ''">
|
||||
AND mt2.type_name like concat('%', #{typeName}, '%')
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
AND mtk.user_id = #{userId}
|
||||
</if>
|
||||
<if test="modelName != null and modelName != ''">
|
||||
AND mt.type_name like concat('%', #{modelName}, '%')
|
||||
</if>
|
||||
|
|
|
|||
|
|
@ -1255,7 +1255,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN ma_type mt1 ON mt.parent_id = mt1.type_id
|
||||
AND mt1.del_flag = '0'
|
||||
LEFT JOIN tm_task tt on sad.task_id = tt.task_id
|
||||
AND tt.task_type = 128
|
||||
AND tt.task_type = 141
|
||||
where sad.scrap_source = '3'
|
||||
<if test="taskStatus != null "> and tt.task_status = #{taskStatus}</if>
|
||||
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
||||
|
|
|
|||
Loading…
Reference in New Issue