|
@@ -1471,9 +1471,11 @@
|
|
|
</select>
|
|
|
<!--出库错误信息回调-->
|
|
|
<select id="getOutgoingReturnError" resultType="com.tld.model.Error">
|
|
|
- select id,url,error_info,data_val,scrq,type,transmission_type from tld_error
|
|
|
- where transmission_type = '3'
|
|
|
+ select id,url,error_info,data_val,scrq,type,transmission_type from tld_error_error
|
|
|
+ where transmission_type = '1'
|
|
|
and type = '出库回传'
|
|
|
+ and scrq <![CDATA[>=]]> '2023-05-13'
|
|
|
+ and error_info like '%message%'
|
|
|
</select>
|
|
|
<!--查询销售出库导入数据-->
|
|
|
<select id="getMarketList" resultType="com.tld.model.MarketReturn">
|
|
@@ -1578,10 +1580,16 @@
|
|
|
where transmission_type = '1'
|
|
|
and type = '其它入库'
|
|
|
</select>
|
|
|
+ <!--转JSON-->
|
|
|
<select id="getJsonError" resultType="com.tld.model.Error">
|
|
|
+ select id,url,error_info,data_val,scrq,type,transmission_type from tld_error_error
|
|
|
+ where type = '出库回传'
|
|
|
+ and scrq <![CDATA[>=]]> '2023-05-13'
|
|
|
+ </select>
|
|
|
+ <select id="getProductionReturnError" resultType="com.tld.model.Error">
|
|
|
select id,url,error_info,data_val,scrq,type,transmission_type from tld_error
|
|
|
where transmission_type = '3'
|
|
|
- and type = '出库回传'
|
|
|
+ and type = '生产收货'
|
|
|
</select>
|
|
|
<!-- 修改数据传输状态 -->
|
|
|
<update id="updateRemoval">
|
|
@@ -1606,4 +1614,8 @@
|
|
|
<update id="UpdSerial">
|
|
|
update tld_removal_half set serial = #{serial} where id = #{id}
|
|
|
</update>
|
|
|
+ <!--修改-->
|
|
|
+ <update id="updJSONError">
|
|
|
+ update tld_error_error set data_val = #{dataVal} where id = #{id}
|
|
|
+ </update>
|
|
|
</mapper>
|