Commit 817d3681 by zhengxj

finish 服务商管理--服务商编辑 on 20200217 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25940 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 872f717b
...@@ -79,7 +79,7 @@ public class UserServicefeeServiceImpl implements IUserServicefeeService { ...@@ -79,7 +79,7 @@ public class UserServicefeeServiceImpl implements IUserServicefeeService {
public void updateUserServiceFee(String str, int userId, int userType) { public void updateUserServiceFee(String str, int userId, int userType) {
// String str= 908,100,100,100|45874,200,200,200 // String str= 908,100,100,100|45874,200,200,200
if (StringUtils.isNotBlank(str)) { if (StringUtils.isNotBlank(str)) {
List<SysUserServiceFee> list = sysUserServiceFeeMapper.selectByUserId(userId); List<SysUserServiceFee> list = sysUserServiceFeeMapper.getUserServiceFeeList(userId, null);
if (!list.isEmpty()) { if (!list.isEmpty()) {
sysUserServiceFeeMapper.batchInsertHistory(list); sysUserServiceFeeMapper.batchInsertHistory(list);
sysUserServiceFeeMapper.deleteByUserId(userId); sysUserServiceFeeMapper.deleteByUserId(userId);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!