| | |
| | | <if test="data.completeTime != null">COMPLETE_TIME_ = #{data.completeTime},</if> |
| | | <if test="data.completeUser != null">COMPLETE_USER_ = #{data.completeUser},</if> |
| | | <if test="data.remarks != null">REMARKS_ = #{data.remarks},</if> |
| | | <if test="data.curStorage != null">CUR_STORAGE_ = #{data.curStorage},</if> |
| | | <if test="data.foodType != null">FOOD_TYPE_ = #{data.foodType},</if> |
| | | <if test="data.price != null">PRICE_ = #{data.price},</if> |
| | | <if test="data.settleMoney != null">SETTLE_MONEY_ = #{data.settleMoney},</if> |
| | |
| | | </select> |
| | | |
| | | <!--根据车牌和卡号验证是否有重复信息--> |
| | | <select id="checkExist" parameterType="com.ld.igds.inout.dto.InoutParam"> |
| | | <select id="checkExist" parameterType="com.ld.igds.inout.dto.InoutParam" resultType="int"> |
| | | select count(1) |
| | | from |
| | | D_INOUT_RECORD |
| | |
| | | AND RECORD_STATUS_ != 'ERROR' |
| | | AND RECORD_STATUS_ != 'DEL' |
| | | <if test="param.start != null"> |
| | | AND REGISTER_TIME_ <![CDATA[ > ]]> #{param.start} |
| | | AND REGISTER_TIME_ <![CDATA[ > ]]> #{param.start,jdbcType=TIMESTAMP} |
| | | </if> |
| | | </select> |
| | | |