This commit is contained in:
parent
72cb20d447
commit
d0057cee18
|
|
@ -279,6 +279,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="selectRepairDetails" resultType="com.bonus.common.biz.domain.repair.RepairInputDetails">
|
<select id="selectRepairDetails" resultType="com.bonus.common.biz.domain.repair.RepairInputDetails">
|
||||||
SELECT
|
SELECT
|
||||||
rd.task_id AS taskId,
|
rd.task_id AS taskId,
|
||||||
|
tt.`code` as inputCode,
|
||||||
rd.type_id AS typeId,
|
rd.type_id AS typeId,
|
||||||
rd.repair_num AS repairNum,
|
rd.repair_num AS repairNum,
|
||||||
rd.input_num AS inputNum,
|
rd.input_num AS inputNum,
|
||||||
|
|
@ -289,6 +290,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
GROUP_CONCAT( mm.ma_code ) AS maCode
|
GROUP_CONCAT( mm.ma_code ) AS maCode
|
||||||
FROM
|
FROM
|
||||||
repair_input_details rd
|
repair_input_details rd
|
||||||
|
LEFT JOIN tm_task tt on tt.task_id=rd.task_id
|
||||||
LEFT JOIN ma_type mt ON rd.type_id = mt.type_id
|
LEFT JOIN ma_type mt ON rd.type_id = mt.type_id
|
||||||
AND mt.del_flag = '0'
|
AND mt.del_flag = '0'
|
||||||
LEFT JOIN ma_type mt1 ON mt.parent_id = mt1.type_id
|
LEFT JOIN ma_type mt1 ON mt.parent_id = mt1.type_id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue