修复标记无法保存

This commit is contained in:
钱涛 2025-06-20 11:28:45 +08:00
parent 6fcd532eb1
commit 66b1659401
2 changed files with 7 additions and 1 deletions

View File

@ -88,6 +88,7 @@
jobcall,
jobcall_id,
status,
mark_items,
account_type)
VALUES
<foreach collection="collection" item="emp" separator=",">
@ -113,6 +114,7 @@
#{emp.jobcall},
#{emp.jobcallId},
#{emp.status},
#{emp.markItems, jdbcType=ARRAY, typeHandler=com.engine.salary.handle.SalaryListTypeHandler},
#{emp.accountType}
)
</foreach>
@ -130,6 +132,7 @@
jobcall,
jobcall_id,
status,
mark_items,
account_type
)
<foreach collection="collection" item="emp" separator="union all">
@ -155,6 +158,7 @@
#{emp.jobcall,jdbcType=VARCHAR},
#{emp.jobcallId,jdbcType=DOUBLE},
#{emp.status,jdbcType=VARCHAR},
#{emp.markItems, jdbcType=ARRAY, typeHandler=com.engine.salary.handle.SalaryListTypeHandler},
#{emp.accountType,jdbcType=INTEGER}
from dual
</foreach>
@ -173,6 +177,7 @@
jobcall,
jobcall_id,
status,
mark_items,
account_type
)
VALUES
@ -198,6 +203,7 @@
#{emp.jobcall},
#{emp.jobcallId},
#{emp.status},
#{emp.markItems, jdbcType=ARRAY, typeHandler=com.engine.salary.handle.SalaryListTypeHandler},
#{emp.accountType}
)
</foreach>

View File

@ -1068,7 +1068,7 @@ public class SalaryAcctResultServiceImpl extends Service implements SalaryAcctRe
markItemIds.removeIf(salaryItemId::equals);
}
salaryAcctEmployeePO.setLockItems(Lists.newArrayList(new HashSet(markItemIds)));
salaryAcctEmployeePO.setMarkItems(Lists.newArrayList(new HashSet(markItemIds)));
getSalaryAcctEmployeeService(user).mark(salaryAcctEmployeePO);
}