|
@@ -92,7 +92,8 @@
|
|
|
a.entry_number,
|
|
a.entry_number,
|
|
|
e.wllb_class,
|
|
e.wllb_class,
|
|
|
a.wbs,
|
|
a.wbs,
|
|
|
- f.name as wbsCode
|
|
|
|
|
|
|
+ f.name as wbsName,
|
|
|
|
|
+ f.code as wbsCode
|
|
|
FROM tld_ask_goods a
|
|
FROM tld_ask_goods a
|
|
|
JOIN tld_ask_goods_f b ON a.ask_goods_id = b.ask_goods_id
|
|
JOIN tld_ask_goods_f b ON a.ask_goods_id = b.ask_goods_id
|
|
|
LEFT JOIN tld_department c ON b.department = c.code
|
|
LEFT JOIN tld_department c ON b.department = c.code
|
|
@@ -460,7 +461,7 @@
|
|
|
source_type as sourceType,
|
|
source_type as sourceType,
|
|
|
move_type as moveType,
|
|
move_type as moveType,
|
|
|
scrq,
|
|
scrq,
|
|
|
- request_type_name as requestTypeName
|
|
|
|
|
|
|
+ ifnull(request_type_name, '生产领用申请') as requestTypeName
|
|
|
from tld_return_gs_removal
|
|
from tld_return_gs_removal
|
|
|
where document_id = #{removalCode}
|
|
where document_id = #{removalCode}
|
|
|
</select>
|
|
</select>
|
|
@@ -1628,7 +1629,7 @@
|
|
|
</select>
|
|
</select>
|
|
|
<!-- 查询生产领料回调信息 -->
|
|
<!-- 查询生产领料回调信息 -->
|
|
|
<select id="getCallback" resultType="com.tld.model.ReturRemoval">
|
|
<select id="getCallback" resultType="com.tld.model.ReturRemoval">
|
|
|
- select document_id,name from tld_return_gs_removal where source_type = "8" and move_type = "207"
|
|
|
|
|
|
|
+ select document_id,ifnull(name, '李兆峰') as name from tld_return_gs_removal where source_type = "8" and move_type = "207"
|
|
|
</select>
|
|
</select>
|
|
|
<!--查询父表信息-->
|
|
<!--查询父表信息-->
|
|
|
<select id="getMergeGsF" resultType="com.tld.model.ReturRemoval">
|
|
<select id="getMergeGsF" resultType="com.tld.model.ReturRemoval">
|