Commit 7aa0800b authored by wujipeng's avatar wujipeng
Browse files

解析excel优化

parent a1c1470b
......@@ -28,5 +28,5 @@ public class UserAccountEntity {
private String account;
private String number;
private String code;
}
......@@ -284,7 +284,7 @@ public class AnalysisServiceImpl implements AnalysisService {
.userName(userName)
.account(paymentBankName)
.caseId(caseId)
.number(paymentAccount)
.code(paymentAccount)
.build()));
userAccountService.saveUserBatch(userAccountList);
}
......
......@@ -4,9 +4,9 @@
<mapper namespace="com.platform.mapper.UserAccountMapper">
<insert id="saveUserBatch">
insert IGNORE into user_account (user_name, account, case_id) values
insert IGNORE into user_account (user_name, account, case_id, code) values
<foreach item="item" collection="userAccountList" separator=",">
(#{item.userName}, #{item.account}, #{item.caseId})
(#{item.userName}, #{item.account}, #{item.caseId},#{item.code})
</foreach>
</insert>
<select id="queryUserAccountList" resultType="java.lang.String">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment