and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} XTXMBH, XTZXMBH, SUBJCODE, REPORT_DATE, BALANCE, USE_STATE, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME, REMARK delete from cw_gl_weighted_detail insert into cw_gl_weighted_detail (XTXMBH, XTZXMBH, SUBJCODE, REPORT_DATE, BALANCE, USE_STATE, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME, REMARK) values (#{xtxmbh,jdbcType=VARCHAR}, #{xtzxmbh,jdbcType=VARCHAR}, #{subjcode,jdbcType=VARCHAR}, #{reportDate,jdbcType=DATE}, #{balance,jdbcType=DECIMAL}, #{useState,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}) insert into cw_gl_weighted_detail XTXMBH, XTZXMBH, SUBJCODE, REPORT_DATE, BALANCE, USE_STATE, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME, REMARK, #{xtxmbh,jdbcType=VARCHAR}, #{xtzxmbh,jdbcType=VARCHAR}, #{subjcode,jdbcType=VARCHAR}, #{reportDate,jdbcType=DATE}, #{balance,jdbcType=DECIMAL}, #{useState,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, update cw_gl_weighted_detail XTXMBH = #{record.xtxmbh,jdbcType=VARCHAR}, XTZXMBH = #{record.xtzxmbh,jdbcType=VARCHAR}, SUBJCODE = #{record.subjcode,jdbcType=VARCHAR}, REPORT_DATE = #{record.reportDate,jdbcType=DATE}, BALANCE = #{record.balance,jdbcType=DECIMAL}, USE_STATE = #{record.useState,jdbcType=VARCHAR}, CREATE_USER = #{record.createUser,jdbcType=VARCHAR}, CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, UPDATE_USER = #{record.updateUser,jdbcType=VARCHAR}, UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP}, REMARK = #{record.remark,jdbcType=VARCHAR}, update cw_gl_weighted_detail set XTXMBH = #{record.xtxmbh,jdbcType=VARCHAR}, XTZXMBH = #{record.xtzxmbh,jdbcType=VARCHAR}, SUBJCODE = #{record.subjcode,jdbcType=VARCHAR}, REPORT_DATE = #{record.reportDate,jdbcType=DATE}, BALANCE = #{record.balance,jdbcType=DECIMAL}, USE_STATE = #{record.useState,jdbcType=VARCHAR}, CREATE_USER = #{record.createUser,jdbcType=VARCHAR}, CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, UPDATE_USER = #{record.updateUser,jdbcType=VARCHAR}, UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP}, REMARK = #{record.remark,jdbcType=VARCHAR} insert into cw_gl_weighted_detail (XTXMBH, XTZXMBH, SUBJCODE, REPORT_DATE, BALANCE, USE_STATE, CREATE_USER, CREATE_TIME) select XTXMBH, null, #{subjcode,jdbcType=VARCHAR} as SUBJCODE,#{reportDate,jdbcType=DATE} as REPORT_DATE, balance, #{useState,jdbcType=VARCHAR} USE_STATE, #{createUser,jdbcType=VARCHAR} CREATE_USER, now() CREATE_TIME from ( 0 ]]> = #{beginDate,jdbcType=VARCHAR} ]]>