'xzy-解决oracle批量添加问题'
This commit is contained in:
parent
bf28368845
commit
bf2f05e9ab
|
|
@ -462,19 +462,19 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.salaryArchiveId},
|
||||
#{item.employeeId},
|
||||
#{item.effectiveTime},
|
||||
#{item.adjustReason},
|
||||
#{item.salaryItemId},
|
||||
#{item.itemValue},
|
||||
#{item.description},
|
||||
#{item.operator},
|
||||
#{item.operateTime},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey}
|
||||
#{item.salaryArchiveId,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.effectiveTime,jdbcType=DATE},
|
||||
#{item.adjustReason,jdbcType=VARCHAR},
|
||||
#{item.salaryItemId,jdbcType=DOUBLE},
|
||||
#{item.itemValue,jdbcType=VARCHAR},
|
||||
#{item.description,jdbcType=VARCHAR},
|
||||
#{item.operator,jdbcType=DOUBLE},
|
||||
#{item.operateTime,jdbcType=DATE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -287,15 +287,15 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.id},
|
||||
#{item.employeeId},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey},
|
||||
#{item.taxAgentId},
|
||||
#{item.payStartDate},
|
||||
#{item.payEndDate}
|
||||
#{item.id,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.payStartDate,jdbcType=DATE},
|
||||
#{item.payEndDate,jdbcType=DATE}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -509,17 +509,17 @@
|
|||
)
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.salaryArchiveId},
|
||||
#{item.employeeId},
|
||||
#{item.effectiveTime},
|
||||
#{item.adjustReason},
|
||||
#{item.taxAgentId},
|
||||
#{item.operator},
|
||||
#{item.operateTime},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey}
|
||||
#{item.salaryArchiveId,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.effectiveTime,jdbcType=DATE},
|
||||
#{item.adjustReason,jdbcType=VARCHAR},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.operator,jdbcType=DOUBLE},
|
||||
#{item.operateTime,jdbcType=DATE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -413,20 +413,20 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.employeeId},
|
||||
#{item.taxAgentId},
|
||||
#{item.declareMonth},
|
||||
#{item.addUpChildEducation},
|
||||
#{item.addUpContinuingEducation},
|
||||
#{item.addUpHousingLoanInterest},
|
||||
#{item.addUpHousingRent},
|
||||
#{item.addUpSupportElderly},
|
||||
#{item.addUpIllnessMedical},
|
||||
#{item.addUpInfantCare},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey}
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.declareMonth,jdbcType=DATE},
|
||||
#{item.addUpChildEducation,jdbcType=VARCHAR},
|
||||
#{item.addUpContinuingEducation,jdbcType=VARCHAR},
|
||||
#{item.addUpHousingLoanInterest,jdbcType=VARCHAR},
|
||||
#{item.addUpHousingRent,jdbcType=VARCHAR},
|
||||
#{item.addUpSupportElderly,jdbcType=VARCHAR},
|
||||
#{item.addUpIllnessMedical,jdbcType=VARCHAR},
|
||||
#{item.addUpInfantCare,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -475,31 +475,31 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.employeeId},
|
||||
#{item.taxAgentId},
|
||||
#{item.taxYearMonth},
|
||||
#{item.year},
|
||||
#{item.addUpIncome},
|
||||
#{item.addUpSubtraction},
|
||||
#{item.addUpSocialSecurityTotal},
|
||||
#{item.addUpAccumulationFundTotal},
|
||||
#{item.addUpChildEducation},
|
||||
#{item.addUpContinuingEducation},
|
||||
#{item.addUpHousingLoanInterest},
|
||||
#{item.addUpHousingRent},
|
||||
#{item.addUpSupportElderly},
|
||||
#{item.addUpEnterpriseAndOther},
|
||||
#{item.addUpOtherDeduction},
|
||||
#{item.addUpTaxExemptIncome},
|
||||
#{item.addUpAllowedDonation},
|
||||
#{item.addUpAdvanceTax},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey},
|
||||
#{item.addUpTaxSavings},
|
||||
#{item.addUpIllnessMedical},
|
||||
#{item.addUpInfantCare}
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.taxYearMonth,jdbcType=DATE},
|
||||
#{item.year,jdbcType=INTEGER},
|
||||
#{item.addUpIncome,jdbcType=VARCHAR},
|
||||
#{item.addUpSubtraction,jdbcType=VARCHAR},
|
||||
#{item.addUpSocialSecurityTotal,jdbcType=VARCHAR},
|
||||
#{item.addUpAccumulationFundTotal,jdbcType=VARCHAR},
|
||||
#{item.addUpChildEducation,jdbcType=VARCHAR},
|
||||
#{item.addUpContinuingEducation,jdbcType=VARCHAR},
|
||||
#{item.addUpHousingLoanInterest,jdbcType=VARCHAR},
|
||||
#{item.addUpHousingRent,jdbcType=VARCHAR},
|
||||
#{item.addUpSupportElderly,jdbcType=VARCHAR},
|
||||
#{item.addUpEnterpriseAndOther,jdbcType=VARCHAR},
|
||||
#{item.addUpOtherDeduction,jdbcType=VARCHAR},
|
||||
#{item.addUpTaxExemptIncome,jdbcType=VARCHAR},
|
||||
#{item.addUpAllowedDonation,jdbcType=VARCHAR},
|
||||
#{item.addUpAdvanceTax,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR},
|
||||
#{item.addUpTaxSavings,jdbcType=VARCHAR},
|
||||
#{item.addUpIllnessMedical,jdbcType=VARCHAR},
|
||||
#{item.addUpInfantCare,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -335,13 +335,13 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.id},
|
||||
#{item.employeeId},
|
||||
#{item.attendQuoteId},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey}
|
||||
#{item.id,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.attendQuoteId,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -322,15 +322,15 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.employeeId},
|
||||
#{item.attendQuoteId},
|
||||
#{item.attendQuoteDataId},
|
||||
#{item.attendQuoteFieldId},
|
||||
#{item.dataValue},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey}
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.attendQuoteId,jdbcType=DOUBLE},
|
||||
#{item.attendQuoteDataId,jdbcType=DOUBLE},s
|
||||
#{item.attendQuoteFieldId,jdbcType=DOUBLE},
|
||||
#{item.dataValue,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -382,13 +382,17 @@
|
|||
|
||||
<foreach collection="saves" item="item" separator="union all">
|
||||
select
|
||||
#{item.fieldName},
|
||||
#{item.sourceType},
|
||||
#{item.fieldType},
|
||||
#{item.enableStatus},
|
||||
#{item.code},
|
||||
#{item.description},
|
||||
#{item.createTime},#{item.updateTime}, #{item.creator}, 0, #{item.tenantKey}
|
||||
#{item.fieldName,jdbcType=VARCHAR},
|
||||
#{item.sourceType,jdbcType=INTEGER},
|
||||
#{item.fieldType,jdbcType=INTEGER},
|
||||
#{item.enableStatus,jdbcType=INTEGER},
|
||||
#{item.code,jdbcType=VARCHAR},
|
||||
#{item.description,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
0,
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -356,17 +356,17 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.employeeId},
|
||||
#{item.taxAgentId},
|
||||
#{item.declareMonth},
|
||||
#{item.businessHealthyInsurance},
|
||||
#{item.taxDelayEndowmentInsurance},
|
||||
#{item.otherDeduction},
|
||||
#{item.deductionAllowedDonation},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey}
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.declareMonth,jdbcType=DATE},
|
||||
#{item.businessHealthyInsurance,jdbcType=VARCHAR},
|
||||
#{item.taxDelayEndowmentInsurance,jdbcType=VARCHAR},
|
||||
#{item.otherDeduction,jdbcType=VARCHAR},
|
||||
#{item.deductionAllowedDonation,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -308,24 +308,24 @@
|
|||
, location_id)
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.id}
|
||||
, #{item.salarySobId}
|
||||
, #{item.salaryAcctEmpId}
|
||||
, #{item.salaryAcctRecordId}
|
||||
, #{item.employeeId}
|
||||
, #{item.taxAgentId}
|
||||
, #{item.salaryItemId}
|
||||
, #{item.resultValue}
|
||||
, #{item.creator}
|
||||
, #{item.createTime}
|
||||
, #{item.updateTime}
|
||||
, #{item.deleteType}
|
||||
, #{item.tenantKey}
|
||||
, #{item.departmentId}
|
||||
, #{item.subcompanyId}
|
||||
, #{item.costcenterId}
|
||||
, #{item.jobtitleId}
|
||||
, #{item.locationId}
|
||||
#{item.id,jdbcType=DOUBLE}
|
||||
, #{item.salarySobId,jdbcType=DOUBLE}
|
||||
, #{item.salaryAcctEmpId,jdbcType=VARCHAR}
|
||||
, #{item.salaryAcctRecordId,jdbcType=DOUBLE}
|
||||
, #{item.employeeId,jdbcType=VARCHAR}
|
||||
, #{item.taxAgentId,jdbcType=DOUBLE}
|
||||
, #{item.salaryItemId,jdbcType=DOUBLE}
|
||||
, #{item.resultValue,jdbcType=VARCHAR}
|
||||
, #{item.creator,jdbcType=DOUBLE}
|
||||
, #{item.createTime,jdbcType=DATE}
|
||||
, #{item.updateTime,jdbcType=DATE}
|
||||
, #{item.deleteType,jdbcType=INTEGER}
|
||||
, #{item.tenantKey,jdbcType=VARCHAR}
|
||||
, #{item.departmentId,jdbcType=DOUBLE}
|
||||
, #{item.subcompanyId,jdbcType=DOUBLE}
|
||||
, #{item.costcenterId,jdbcType=DOUBLE}
|
||||
, #{item.jobtitleId,jdbcType=DOUBLE}
|
||||
, #{item.locationId,jdbcType=DOUBLE}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -52,17 +52,17 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.salarySobId},
|
||||
#{item.salaryAcctEmpId},
|
||||
#{item.salaryAcctRecordId},
|
||||
#{item.employeeId},
|
||||
#{item.salaryItemId},
|
||||
#{item.resultValue},
|
||||
#{item.creator},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.deleteType},
|
||||
#{item.tenantKey}
|
||||
#{item.salarySobId,jdbcType=DOUBLE},
|
||||
#{item.salaryAcctEmpId,jdbcType=DOUBLE},
|
||||
#{item.salaryAcctRecordId,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.salaryItemId,jdbcType=DOUBLE},
|
||||
#{item.resultValue,jdbcType=VARCHAR},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -63,16 +63,16 @@
|
|||
|
||||
<foreach collection="collection" item="emp" separator="union all">
|
||||
select
|
||||
#{emp.salaryAcctRecordId},
|
||||
#{emp.salarySobId},
|
||||
#{emp.employeeId},
|
||||
#{emp.taxAgentId},
|
||||
#{emp.salaryMonth},
|
||||
#{emp.creator},
|
||||
#{emp.createTime},
|
||||
#{emp.updateTime},
|
||||
#{emp.deleteType},
|
||||
#{emp.tenantKey}
|
||||
#{emp.salaryAcctRecordId,jdbcType=DOUBLE},
|
||||
#{emp.salarySobId,jdbcType=DOUBLE},
|
||||
#{emp.employeeId,jdbcType=DOUBLE},
|
||||
#{emp.taxAgentId,jdbcType=DOUBLE},
|
||||
#{emp.salaryMonth,jdbcType=DATE},
|
||||
#{emp.creator,jdbcType=DOUBLE},
|
||||
#{emp.createTime,jdbcType=DATE},
|
||||
#{emp.updateTime,jdbcType=DATE},
|
||||
#{emp.deleteType,jdbcType=INTEGER},
|
||||
#{emp.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -457,18 +457,18 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.salarySobId},
|
||||
#{item.salaryAcctEmpId},
|
||||
#{item.salaryAcctRecordId},
|
||||
#{item.employeeId},
|
||||
#{item.taxAgentId},
|
||||
#{item.salaryItemId},
|
||||
#{item.resultValue},
|
||||
#{item.creator},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.deleteType},
|
||||
#{item.tenantKey}
|
||||
#{item.salarySobId,jdbcType=DOUBLE},
|
||||
#{item.salaryAcctEmpId,jdbcType=DOUBLE},
|
||||
#{item.salaryAcctRecordId,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.salaryItemId,jdbcType=DOUBLE},
|
||||
#{item.resultValue,jdbcType=VARCHAR},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -32,19 +32,19 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.salarySobId},
|
||||
#{item.salaryAcctEmpId},
|
||||
#{item.salaryAcctRecordId},
|
||||
#{item.employeeId},
|
||||
#{item.taxAgentId},
|
||||
#{item.salaryItemId},
|
||||
#{item.resultValue},
|
||||
#{item.calculateKey},
|
||||
#{item.creator},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.deleteType},
|
||||
#{item.tenantKey}
|
||||
#{item.salarySobId,jdbcType=DOUBLE},
|
||||
#{item.salaryAcctEmpId,jdbcType=DOUBLE},
|
||||
#{item.salaryAcctRecordId,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.salaryItemId,jdbcType=DOUBLE},
|
||||
#{item.resultValue,jdbcType=VARCHAR},
|
||||
#{item.calculateKey,jdbcType=VARCHAR},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -84,17 +84,17 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.id},
|
||||
#{item.salarySendId},
|
||||
#{item.salaryMonth},
|
||||
#{item.salaryAcctRecordId},
|
||||
#{item.taxAgentId},
|
||||
#{item.employeeId},
|
||||
#{item.sendStatus},
|
||||
#{item.creator},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.tenantKey}
|
||||
#{item.id,jdbcType=DOUBLE},
|
||||
#{item.salarySendId,jdbcType=DOUBLE},
|
||||
#{item.salaryMonth,jdbcType=DATE},
|
||||
#{item.salaryAcctRecordId,jdbcType=DOUBLE},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.sendStatus,jdbcType=INTEGER},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -355,11 +355,27 @@
|
|||
update_time, creator, delete_type, tenant_key, data_type)
|
||||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select #{item.id}, #{item.name}, #{item.code}, #{item.systemType}, #{item.sysSalaryItemId},
|
||||
#{item.useDefault}, #{item.useInEmployeeSalary}, #{item.roundingMode},
|
||||
#{item.pattern},
|
||||
#{item.valueType}, #{item.formulaId}, #{item.description}, #{item.canEdit},
|
||||
#{item.createTime}, #{item.updateTime}, #{item.creator}, 0, #{item.tenantKey}, #{item.dataType} from dual
|
||||
select
|
||||
#{item.id,jdbcType=DOUBLE},
|
||||
#{item.name,jdbcType=VARCHAR},
|
||||
#{item.code,jdbcType=VARCHAR},
|
||||
#{item.systemType,jdbcType=INTEGER},
|
||||
#{item.sysSalaryItemId,jdbcType=DOUBLE},
|
||||
#{item.useDefault,jdbcType=INTEGER},
|
||||
#{item.useInEmployeeSalary,jdbcType=INTEGER},
|
||||
#{item.roundingMode,jdbcType=INTEGER},
|
||||
#{item.pattern,jdbcType=INTEGER},
|
||||
#{item.valueType,jdbcType=INTEGER},
|
||||
#{item.formulaId,jdbcType=DOUBLE},
|
||||
#{item.description,jdbcType=VARCHAR},
|
||||
#{item.canEdit,jdbcType=INTEGER},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
0,
|
||||
#{item.tenantKey,jdbcType=VARCHAR},
|
||||
#{item.dataType,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
<insert id="batchInsert" databaseId="sqlserver">
|
||||
|
|
|
|||
|
|
@ -351,16 +351,16 @@
|
|||
|
||||
<foreach collection="collection" separator="union all" item="item">
|
||||
select
|
||||
#{item.salarySobId},
|
||||
#{item.salaryItemId},
|
||||
#{item.dayOfMonth},
|
||||
#{item.beforeAdjustmentType},
|
||||
#{item.afterAdjustmentType},
|
||||
#{item.creator},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.deleteType},
|
||||
#{item.tenantKey}
|
||||
#{item.salarySobId,jdbcType=DOUBLE},
|
||||
#{item.salaryItemId,jdbcType=DOUBLE},
|
||||
#{item.dayOfMonth,jdbcType=INTEGER},
|
||||
#{item.beforeAdjustmentType,jdbcType=INTEGER},
|
||||
#{item.afterAdjustmentType,jdbcType=INTEGER},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -384,15 +384,15 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.salarySobId},
|
||||
#{item.name},
|
||||
#{item.formulaId},
|
||||
#{item.description},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.deleteType},
|
||||
#{item.tenantKey}
|
||||
#{item.salarySobId,jdbcType=DOUBLE},
|
||||
#{item.name,jdbcType=VARCHAR},
|
||||
#{item.formulaId,jdbcType=DOUBLE},
|
||||
#{item.description,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -328,15 +328,15 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.salarySobId},
|
||||
#{item.fieldCode},
|
||||
#{item.sortedIndex},
|
||||
#{item.canDelete},
|
||||
#{item.creator},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.salarySobId,jdbcType=DOUBLE},
|
||||
#{item.fieldCode,jdbcType=VARCHAR},
|
||||
#{item.sortedIndex,jdbcType=INTEGER},
|
||||
#{item.canDelete,jdbcType=INTEGER},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
0,
|
||||
#{item.tenantKey}
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -270,15 +270,15 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.id},
|
||||
#{item.salarySobId},
|
||||
#{item.name},
|
||||
#{item.sortedIndex},
|
||||
#{item.description},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey}
|
||||
#{item.id,jdbcType=DOUBLE},
|
||||
#{item.salarySobId,jdbcType=DOUBLE},
|
||||
#{item.name,jdbcType=VARCHAR},
|
||||
#{item.sortedIndex,jdbcType=INTEGER},
|
||||
#{item.description,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -332,18 +332,18 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.salarySobId},
|
||||
#{item.salaryItemId},
|
||||
#{item.salarySobItemGroupId},
|
||||
#{item.formulaId},
|
||||
#{item.sortedIndex},
|
||||
#{item.description},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.deleteType},
|
||||
#{item.tenantKey},
|
||||
#{item.canDelete}
|
||||
#{item.salarySobId,jdbcType=DOUBLE},
|
||||
#{item.salaryItemId,jdbcType=DOUBLE},
|
||||
#{item.salarySobItemGroupId,jdbcType=DOUBLE},
|
||||
#{item.formulaId,jdbcType=DOUBLE},
|
||||
#{item.sortedIndex,jdbcType=INTEGER},
|
||||
#{item.description,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR},
|
||||
#{item.canDelete,jdbcType=INTEGER}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -347,16 +347,16 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.salarySobId},
|
||||
#{item.targetType.value},
|
||||
#{item.targetId},
|
||||
#{item.employeeStatus.value},
|
||||
#{item.includeType},
|
||||
#{item.creator},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.deleteType},
|
||||
#{item.tenantKey}
|
||||
#{item.salarySobId,jdbcType=DOUBLE},
|
||||
#{item.targetType.value,jdbcType=INTEGER},
|
||||
#{item.targetId,jdbcType=DOUBLE},
|
||||
#{item.employeeStatus.value,jdbcType=INTEGER},
|
||||
#{item.includeType,jdbcType=INTEGER},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -123,17 +123,17 @@
|
|||
|
||||
<foreach collection="pos" item="item" separator="union all">
|
||||
select
|
||||
#{item.employeeId},
|
||||
#{item.billMonth},
|
||||
#{item.paymentStatus},
|
||||
#{item.inspectStatus},
|
||||
#{item.supplementaryMonth},
|
||||
#{item.supplementaryProjects},
|
||||
#{item.creator},
|
||||
#{item.deleteType},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.tenantKey}
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.billMonth,jdbcType=VARCHAR},
|
||||
#{item.paymentStatus,jdbcType=INTEGER},
|
||||
#{item.inspectStatus,jdbcType=INTEGER},
|
||||
#{item.supplementaryMonth,jdbcType=VARCHAR},
|
||||
#{item.supplementaryProjects,jdbcType=VARCHAR},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -124,20 +124,20 @@
|
|||
other_payment_base_string)
|
||||
<foreach collection="otherSchemePOS" item="item" separator="union all">
|
||||
select
|
||||
#{item.otherSchemeId},
|
||||
#{item.otherStartTime},
|
||||
#{item.underTake},
|
||||
#{item.tenantKey},
|
||||
#{item.welfareType},
|
||||
#{item.otherEndTime},
|
||||
#{item.employeeId},
|
||||
#{item.deleteType},
|
||||
#{item.updateTime},
|
||||
#{item.createTime},
|
||||
#{item.nonPayment},
|
||||
#{item.creator},
|
||||
#{item.paymentOrganization},
|
||||
#{item.otherPaymentBaseString}
|
||||
#{item.otherSchemeId,jdbcType=DOUBLE},
|
||||
#{item.otherStartTime,jdbcType=VARCHAR},
|
||||
#{item.underTake,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR},
|
||||
#{item.welfareType,jdbcType=INTEGER},
|
||||
#{item.otherEndTime,jdbcType=VARCHAR},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.nonPayment,jdbcType=INTEGER},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.paymentOrganization,jdbcType=DOUBLE},
|
||||
#{item.otherPaymentBaseString,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -126,21 +126,21 @@
|
|||
payment_organization)
|
||||
<foreach collection="socialSchemePOS" item="item" separator="union all">
|
||||
select
|
||||
#{item.welfareType},
|
||||
#{item.deleteType},
|
||||
#{item.socialPaymentBaseString},
|
||||
#{item.socialSchemeId},
|
||||
#{item.createTime},
|
||||
#{item.socialEndTime},
|
||||
#{item.socialStartTime},
|
||||
#{item.creator},
|
||||
#{item.nonPayment},
|
||||
#{item.tenantKey},
|
||||
#{item.employeeId},
|
||||
#{item.updateTime},
|
||||
#{item.underTake},
|
||||
#{item.socialAccount},
|
||||
#{item.paymentOrganization}
|
||||
#{item.welfareType,jdbcType=INTEGER},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.socialPaymentBaseString,jdbcType=VARCHAR},
|
||||
#{item.socialSchemeId,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.socialEndTime,jdbcType=VARCHAR},
|
||||
#{item.socialStartTime,jdbcType=VARCHAR},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.nonPayment,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.underTake,jdbcType=INTEGER},
|
||||
#{item.socialAccount,jdbcType=VARCHAR},
|
||||
#{item.paymentOrganization,jdbcType=DOUBLE}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -297,16 +297,16 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.id},
|
||||
#{item.employeeId},
|
||||
#{item.taxAgentId},
|
||||
#{item.employeeName},
|
||||
#{item.changeType},
|
||||
#{item.moduleType},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey}
|
||||
#{item.id,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.employeeName,jdbcType=VARCHAR},
|
||||
#{item.changeType,jdbcType=INTEGER},
|
||||
#{item.moduleType,jdbcType=INTEGER},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -261,14 +261,14 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.id},
|
||||
#{item.employeeId},
|
||||
#{item.taxAgentId},
|
||||
#{item.employeeName},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.creator},
|
||||
#{item.tenantKey}
|
||||
#{item.id,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.employeeName,jdbcType=VARCHAR},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.tenantKey,jdbcType=VARCHAR}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -109,17 +109,17 @@
|
|||
|
||||
<foreach collection="collection" item="item" separator="union all">
|
||||
select
|
||||
#{item.id},
|
||||
#{item.taxDeclarationId},
|
||||
#{item.employeeId},
|
||||
#{item.fieldCode},
|
||||
#{item.fieldValue},
|
||||
#{item.creator},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.deleteType},
|
||||
#{item.tenantKey},
|
||||
#{item.employeeType}
|
||||
#{item.id,jdbcType=DOUBLE},
|
||||
#{item.taxDeclarationId,jdbcType=DOUBLE},
|
||||
#{item.employeeId,jdbcType=DOUBLE},
|
||||
#{item.fieldCode,jdbcType=VARCHAR},
|
||||
#{item.fieldValue,jdbcType=VARCHAR},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=VARCHAR},
|
||||
#{item.updateTime,jdbcType=VARCHAR},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR},
|
||||
#{item.employeeType,jdbcType=INTEGER}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
|
|
@ -90,17 +90,17 @@
|
|||
|
||||
<foreach collection="collection" separator="union all" item="item">
|
||||
select
|
||||
#{item.id},
|
||||
#{item.salaryMonth},
|
||||
#{item.taxCycle},
|
||||
#{item.taxAgentId},
|
||||
#{item.description},
|
||||
#{item.creator},
|
||||
#{item.createTime},
|
||||
#{item.updateTime},
|
||||
#{item.deleteType},
|
||||
#{item.tenantKey},
|
||||
#{item.incomeCategory}
|
||||
#{item.id,jdbcType=DOUBLE},
|
||||
#{item.salaryMonth,jdbcType=DATE},
|
||||
#{item.taxCycle,jdbcType=DATE},
|
||||
#{item.taxAgentId,jdbcType=DOUBLE},
|
||||
#{item.description,jdbcType=VARCHAR},
|
||||
#{item.creator,jdbcType=DOUBLE},
|
||||
#{item.createTime,jdbcType=DATE},
|
||||
#{item.updateTime,jdbcType=DATE},
|
||||
#{item.deleteType,jdbcType=INTEGER},
|
||||
#{item.tenantKey,jdbcType=VARCHAR},
|
||||
#{item.incomeCategory,jdbcType=INTEGER}
|
||||
from dual
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
|
|||
Loading…
Reference in New Issue