This commit is contained in:
caixiang
2023-12-20 14:49:42 +08:00
parent 11b41b18f1
commit df116253ff
15 changed files with 1031 additions and 42 deletions

View File

@@ -195,5 +195,17 @@
twpb.model = 2
</select>
<select id="getTodayErrBoxNum" resultType="java.lang.Integer">
select count(1)
from t_wo_packaging_box twpb
where
twpb.CREATE_TIME BETWEEN DATE_FORMAT(NOW(),'%Y-%m-%d 00:00:00') AND DATE_FORMAT(NOW(),'%Y-%m-%d 23:59:59')
and
twpb.model = 2
and twpb.BOX_NO like '444%'
</select>
</mapper>

View File

@@ -6,7 +6,7 @@
<id column="actl_pmpp_low" property="actlPmppLow" />
<id column="actl_pmpp_high" property="actlPmppHigh" />
<id column="formula" property="formula" />
<id column="line_body" property="lineBody" />
<id column="line_body" prope/rty="lineBody" />
<id column="coefficient_a" property="coefficientA" />
<id column="coefficient_b" property="coefficientB" />
<id column="remark" property="remark" />
@@ -43,7 +43,7 @@
<if test="param.pmpp != null">
and twcp.actl_pmpp_high <![CDATA[ > ]]> #{param.pmpp} and twcp.actl_pmpp_low <![CDATA[ <= ]]> #{param.pmpp}
</if>
limit 1
</select>
</mapper>

View File

@@ -40,6 +40,7 @@
<if test="param.pmpp != null">
and twpl.pmpp_high <![CDATA[ > ]]> #{param.pmpp} and twpl.pmpp_low <![CDATA[ <= ]]> #{param.pmpp}
</if>
limit 1
</select>
</mapper>