app-退料接收
This commit is contained in:
parent
7e06bc88b2
commit
29112420e5
|
|
@ -341,8 +341,8 @@
|
||||||
LEFT JOIN ma_type mt2 ON mt2.type_id=mt1.parent_id
|
LEFT JOIN ma_type mt2 ON mt2.type_id=mt1.parent_id
|
||||||
LEFT JOIN ma_type mt3 ON mt3.type_id=mt2.parent_id
|
LEFT JOIN ma_type mt3 ON mt3.type_id=mt2.parent_id
|
||||||
LEFT JOIN ma_type mt4 ON mt4.type_id=mt3.parent_id
|
LEFT JOIN ma_type mt4 ON mt4.type_id=mt3.parent_id
|
||||||
WHERE
|
# WHERE
|
||||||
bai.company_id=#{companyId}
|
# bai.company_id=#{companyId}
|
||||||
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
|
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
@ -451,8 +451,9 @@
|
||||||
LEFT JOIN ma_type mt3 ON mt3.type_id=mt2.parent_id
|
LEFT JOIN ma_type mt3 ON mt3.type_id=mt2.parent_id
|
||||||
LEFT JOIN ma_type mt4 ON mt4.type_id=mt3.parent_id
|
LEFT JOIN ma_type mt4 ON mt4.type_id=mt3.parent_id
|
||||||
WHERE
|
WHERE
|
||||||
bai.company_id=#{companyId}
|
# bai.company_id=#{companyId}
|
||||||
and bad.type_id is not null
|
# and
|
||||||
|
bad.type_id is not null
|
||||||
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
|
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
|
||||||
</select>
|
</select>
|
||||||
<select id="examineView" resultType="com.bonus.sgzb.app.domain.BackApplyInfo">
|
<select id="examineView" resultType="com.bonus.sgzb.app.domain.BackApplyInfo">
|
||||||
|
|
|
||||||
|
|
@ -609,8 +609,9 @@
|
||||||
LEFT JOIN ma_type mt3 ON mt3.type_id=mt2.parent_id
|
LEFT JOIN ma_type mt3 ON mt3.type_id=mt2.parent_id
|
||||||
LEFT JOIN ma_type mt4 ON mt4.type_id=mt3.parent_id
|
LEFT JOIN ma_type mt4 ON mt4.type_id=mt3.parent_id
|
||||||
WHERE
|
WHERE
|
||||||
bai.company_id=#{companyId}
|
# bai.company_id=#{companyId}
|
||||||
and tt.task_status>='38'
|
# and
|
||||||
|
tt.task_status>='38'
|
||||||
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
|
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -306,7 +306,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN ma_type mt3 ON mt3.type_id=mt2.parent_id
|
LEFT JOIN ma_type mt3 ON mt3.type_id=mt2.parent_id
|
||||||
LEFT JOIN ma_type mt4 ON mt4.type_id=mt3.parent_id
|
LEFT JOIN ma_type mt4 ON mt4.type_id=mt3.parent_id
|
||||||
WHERE
|
WHERE
|
||||||
bai.company_id=#{companyId}
|
1=1
|
||||||
|
# bai.company_id=#{companyId}
|
||||||
<if test="keyWord != null and keyWord != ''">
|
<if test="keyWord != null and keyWord != ''">
|
||||||
and bai.`code` like concat('%', #{keyWord}, '%') or
|
and bai.`code` like concat('%', #{keyWord}, '%') or
|
||||||
bai.back_person like concat('%', #{keyWord}, '%') or
|
bai.back_person like concat('%', #{keyWord}, '%') or
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue