whycq
2022-03-30 0aa1c9d1a42e2ac5639228d23dfedbc03ded6fb5
src/main/resources/mapper/ItemMapper.xml
@@ -55,6 +55,8 @@
        <result column="planLADate" property="planLADate" />
        <result column="realLADate" property="realLADate" />
        <result column="planCarnumber" property="planCarnumber"/>
        <result column="Excess_amount" property="excessAmount"/>
        <result column="Excess_time" property="excessTime"/>
    </resultMap>
    <select id="chaoPrice" resultMap="BaseResultMap">
        select * from man_item where 1=1 and realdeAmt>plandeAmt
@@ -79,4 +81,10 @@
            and uuid=#{uuid}
        </if>
    </select>
    <select id="inspected" resultMap="BaseResultMap">
        select * from man_item where realLADate is not null
    </select>
    <select id="finished" resultMap="BaseResultMap">
        select * from man_item where realLADate is null and realinDate is not null
    </select>
</mapper>