后台修试管理代码提交
This commit is contained in:
parent
b95cbc87dc
commit
0ebd1cf40a
|
|
@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<select id="selectScrapApplyDetailsList" parameterType="com.bonus.sgzb.material.domain.ScrapApplyDetails" resultType="com.bonus.sgzb.material.vo.ScrapApplyDetailsVO">
|
<select id="selectScrapApplyDetailsList" parameterType="com.bonus.sgzb.material.domain.ScrapApplyDetails" resultType="com.bonus.sgzb.material.vo.ScrapApplyDetailsVO">
|
||||||
select tk.code scrapNum,tk.task_status taskStatus, dic.name taskStatusName, bui.unit_name unitName,bpl.lot_name projectName,
|
select tk.code scrapNum,tk.task_status taskStatus, dic.name taskStatusName, bui.unit_name unitName,bpl.lot_name projectName,
|
||||||
su.user_name createBy, tk.create_time createTime, tk.remark ,tk1.code repairNum,tk.task_id taskId
|
tk.create_by createBy, tk.create_time createTime, tk.remark ,tk1.code repairNum,tk.task_id taskId
|
||||||
from tm_task tk
|
from tm_task tk
|
||||||
left join tm_task_agreement tta on tk.task_id = tta.task_id
|
left join tm_task_agreement tta on tk.task_id = tta.task_id
|
||||||
left join bm_agreement_info bai on tta.agreement_id = bai.agreement_id
|
left join bm_agreement_info bai on tta.agreement_id = bai.agreement_id
|
||||||
|
|
@ -44,7 +44,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
left join (select id,p_id,name from sys_dic where p_id in (select id from sys_dic where value = 'bf_task')) dic on tk.task_status = dic.id
|
left join (select id,p_id,name from sys_dic where p_id in (select id from sys_dic where value = 'bf_task')) dic on tk.task_status = dic.id
|
||||||
left join ma_type mt on sad.type_id = mt.type_id
|
left join ma_type mt on sad.type_id = mt.type_id
|
||||||
left join ma_type mt1 on mt.parent_id = mt1.type_id
|
left join ma_type mt1 on mt.parent_id = mt1.type_id
|
||||||
left join sys_user su on su.user_id = tk.create_by
|
|
||||||
where sad.scrap_source in ('1','2') and tk.task_type = 57
|
where sad.scrap_source in ('1','2') and tk.task_type = 57
|
||||||
<if test="backUnit != null">
|
<if test="backUnit != null">
|
||||||
and bui.unit_id = #{backUnit}
|
and bui.unit_id = #{backUnit}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue