RESULT_RECEIVE_ID, RESULT_TOTAL_ID, RESULT_RECEIVE_TIME, RECEIVE_SINGER_ID, INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, INSERT_UPDATE_REMARK, STATUS t.RESULT_RECEIVE_ID, t.RESULT_TOTAL_ID, t.RESULT_RECEIVE_TIME, t.RECEIVE_SINGER_ID, t.INSERT_USERNAME, t.INSERT_TIME, t.UPDATE_USERNAME, t.UPDATE_TIME, t.INSERT_UPDATE_REMARK, t.STATUS SELECT FROM TMSTRUCK_RECEIVE_RESULT SELECT FROM TMSTRUCK_RECEIVE_RESULT t and RESULT_RECEIVE_ID = #{resultReceiveId} and RESULT_TOTAL_ID = #{resultTotalId} and TO_CHAR(RESULT_RECEIVE_TIME,'yyyy-MM-dd') = #{resultReceiveTime} and RECEIVE_SINGER_ID = #{receiveSingerId} and INSERT_USERNAME = #{insertUsername} and TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = #{insertTime} and UPDATE_USERNAME = #{updateUsername} and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime} and INSERT_UPDATE_REMARK = #{insertUpdateRemark} and STATUS = #{status} and RESULT_RECEIVE_ID = #{resultReceiveId} and RESULT_TOTAL_ID = #{resultTotalId} and TO_CHAR(RESULT_RECEIVE_TIME,'yyyy-MM-dd') = #{resultReceiveTime} and RECEIVE_SINGER_ID = #{receiveSingerId} and INSERT_USERNAME LIKE '%${insertUsername}%' and TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = #{insertTime} and UPDATE_USERNAME LIKE '%${updateUsername}%' and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime} and INSERT_UPDATE_REMARK LIKE '%${insertUpdateRemark}%' and STATUS = #{status} delete from TMSTRUCK_RECEIVE_RESULT where RESULT_RECEIVE_ID = #{resultReceiveId,jdbcType=DECIMAL} delete from TMSTRUCK_RECEIVE_RESULT where 1!=1 or RESULT_TOTAL_ID = #{resultTotalId} or TO_CHAR(RESULT_RECEIVE_TIME,'yyyy-MM-dd') = '#{resultReceiveTime}' or RECEIVE_SINGER_ID = #{receiveSingerId} or INSERT_USERNAME = #{insertUsername} or TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = '#{insertTime}' or UPDATE_USERNAME = #{updateUsername} or TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = '#{updateTime}' or INSERT_UPDATE_REMARK = #{insertUpdateRemark} or STATUS = #{status} insert into TMSTRUCK_RECEIVE_RESULT (RESULT_RECEIVE_ID, RESULT_TOTAL_ID, RESULT_RECEIVE_TIME, RECEIVE_SINGER_ID, INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, INSERT_UPDATE_REMARK, STATUS) values (#{resultReceiveId,jdbcType=DECIMAL}, #{resultTotalId,jdbcType=DECIMAL}, #{resultReceiveTime,jdbcType=TIMESTAMP}, #{receiveSingerId,jdbcType=DECIMAL}, #{insertUsername,jdbcType=VARCHAR}, #{insertTime,jdbcType=TIMESTAMP}, #{updateUsername,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{insertUpdateRemark,jdbcType=VARCHAR}, #{status,jdbcType=DECIMAL}) insert into TMSTRUCK_RECEIVE_RESULT RESULT_RECEIVE_ID, RESULT_TOTAL_ID, RESULT_RECEIVE_TIME, RECEIVE_SINGER_ID, INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, INSERT_UPDATE_REMARK, STATUS, #{resultReceiveId,jdbcType=DECIMAL}, #{resultTotalId,jdbcType=DECIMAL}, #{resultReceiveTime,jdbcType=TIMESTAMP}, #{receiveSingerId,jdbcType=DECIMAL}, #{insertUsername,jdbcType=VARCHAR}, #{insertTime,jdbcType=TIMESTAMP}, #{updateUsername,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{insertUpdateRemark,jdbcType=VARCHAR}, #{status,jdbcType=DECIMAL}, update TMSTRUCK_RECEIVE_RESULT set RESULT_TOTAL_ID = #{resultTotalId,jdbcType=DECIMAL}, RESULT_RECEIVE_TIME = #{resultReceiveTime,jdbcType=TIMESTAMP}, RECEIVE_SINGER_ID = #{receiveSingerId,jdbcType=DECIMAL}, INSERT_USERNAME = #{insertUsername,jdbcType=VARCHAR}, INSERT_TIME = #{insertTime,jdbcType=TIMESTAMP}, UPDATE_USERNAME = #{updateUsername,jdbcType=VARCHAR}, UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}, INSERT_UPDATE_REMARK = #{insertUpdateRemark,jdbcType=VARCHAR}, STATUS = #{status,jdbcType=DECIMAL} where RESULT_RECEIVE_ID = #{resultReceiveId,jdbcType=DECIMAL} update TMSTRUCK_RECEIVE_RESULT RESULT_TOTAL_ID = #{resultTotalId,jdbcType=DECIMAL}, RESULT_RECEIVE_TIME = #{resultReceiveTime,jdbcType=TIMESTAMP}, RECEIVE_SINGER_ID = #{receiveSingerId,jdbcType=DECIMAL}, INSERT_USERNAME = #{insertUsername,jdbcType=VARCHAR}, INSERT_TIME = #{insertTime,jdbcType=TIMESTAMP}, UPDATE_USERNAME = #{updateUsername,jdbcType=VARCHAR}, UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}, INSERT_UPDATE_REMARK = #{insertUpdateRemark,jdbcType=VARCHAR}, STATUS = #{status,jdbcType=DECIMAL}, where RESULT_RECEIVE_ID = #{resultReceiveId,jdbcType=DECIMAL} insert into TMSTRUCK_RECEIVE_RESULT (RESULT_RECEIVE_ID, RESULT_TOTAL_ID, RESULT_RECEIVE_TIME, RECEIVE_SINGER_ID, INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, INSERT_UPDATE_REMARK, STATUS) ( select #{item.resultReceiveId,jdbcType=DECIMAL}, #{item.resultTotalId,jdbcType=DECIMAL}, #{item.resultReceiveTime,jdbcType=TIMESTAMP}, #{item.receiveSingerId,jdbcType=DECIMAL}, #{item.insertUsername,jdbcType=VARCHAR}, #{item.insertTime,jdbcType=TIMESTAMP}, #{item.updateUsername,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.insertUpdateRemark,jdbcType=VARCHAR}, #{item.status,jdbcType=DECIMAL} from dual ) update TMSTRUCK_RECEIVE_RESULT set RESULT_RECEIVE_ID= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.resultReceiveId,jdbcType=DECIMAL} ,RESULT_TOTAL_ID= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.resultTotalId,jdbcType=DECIMAL} ,RESULT_RECEIVE_TIME= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.resultReceiveTime,jdbcType=TIMESTAMP} ,RECEIVE_SINGER_ID= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.receiveSingerId,jdbcType=DECIMAL} ,INSERT_USERNAME= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.insertUsername,jdbcType=VARCHAR} ,INSERT_TIME= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.insertTime,jdbcType=TIMESTAMP} ,UPDATE_USERNAME= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.updateUsername,jdbcType=VARCHAR} ,UPDATE_TIME= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.updateTime,jdbcType=TIMESTAMP} ,INSERT_UPDATE_REMARK= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.insertUpdateRemark,jdbcType=VARCHAR} ,STATUS= when #{item.resultReceiveId,jdbcType=DECIMAL} then #{item.status,jdbcType=DECIMAL} where RESULT_RECEIVE_ID in #{item.resultReceiveId,jdbcType=DECIMAL} delete from TMSTRUCK_RECEIVE_RESULT where RESULT_RECEIVE_ID in #{id} order by "${orderField}" ${orderType} order by "insertTime" desc