修改日报表影响效率原因

master
Yangwl 1 week ago
parent 19af92449e
commit 10aba7b80c

@ -1091,14 +1091,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="getProductReason" resultType="java.lang.String">
SELECT
STRING_AGG(concat('【',Reason,attr2,'H】'), ';') AS Reasons
remark AS Reasons
FROM
mes_report_work where workorder_code = #{workorderCode} and del_flag = '0'
and Reason is not null
and reason !=''
and reason !='无'
GROUP BY
workorder_code;
remark;
</select>
<select id="getTypeName" resultType="java.lang.String">
select top 1 category from base_product_attached where product_code = #{productCode}

Loading…
Cancel
Save