<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hzya.frame.plugin.lets.dao.impl.UpdateLogisticsNoDaoImpl">
    <!--正向：更新OA物流单号:档案单据-->
    <update id="updateLogisticsNoByformmain0237" parameterType="com.hzya.frame.plugin.lets.entity.UpdateLogisticsNoEntity">
        update formmain_0237 set field0148=CONCAT(COALESCE(field0148, ''),' ', #{logistics_no}) where field0010= #{field0010}
    </update>

    <!--正向：更新OA物流单号：流程单据-->
    <update id="updateLogisticsNoByformmain0202" parameterType="com.hzya.frame.plugin.lets.entity.UpdateLogisticsNoEntity">
        update formmain_0202 set field0174=CONCAT(COALESCE(field0174, ''),' ', #{logistics_no}) where field0010= #{field0010}
    </update>

    <!--退货：更新OA物流单号:档案单据-->
    <update id="updateLogisticsNoByformmain0237Return" parameterType="com.hzya.frame.plugin.lets.entity.UpdateLogisticsNoEntity">
        update formmain_0237 set field0149=CONCAT(COALESCE(field0149, ''),' ', #{logistics_no}) where field0010= #{field0010}
    </update>

    <!--退货：更新OA物流单号：流程单据-->
    <update id="updateLogisticsNoByformmain0202Return" parameterType="com.hzya.frame.plugin.lets.entity.UpdateLogisticsNoEntity">
        update formmain_0202 set field0172=CONCAT(COALESCE(field0172, ''),' ', #{logistics_no}) where field0010= #{field0010}
    </update>
</mapper>