|
@@ -121,6 +121,7 @@ public class SecondTradeRecordServiceImpl extends ServiceImpl<SecondTradeRecordM
|
|
|
secondEntrustUser.setEntrustUserName(trade.getEntrustUserName());
|
|
secondEntrustUser.setEntrustUserName(trade.getEntrustUserName());
|
|
|
secondEntrustUser.setEntrustIdCard(trade.getEntrustIdCard());
|
|
secondEntrustUser.setEntrustIdCard(trade.getEntrustIdCard());
|
|
|
secondEntrustUser.setEntrustTradeNo(trade.getTradeNo());
|
|
secondEntrustUser.setEntrustTradeNo(trade.getTradeNo());
|
|
|
|
|
+ secondEntrustUser.setEntrustIdCardImg(trade.getEntrustIdCardImg());
|
|
|
secondEntrustUserMapper.insert(secondEntrustUser);
|
|
secondEntrustUserMapper.insert(secondEntrustUser);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -165,6 +166,7 @@ public class SecondTradeRecordServiceImpl extends ServiceImpl<SecondTradeRecordM
|
|
|
message.put("entrustUserPhone", entrustUser.getEntrustUserPhone());
|
|
message.put("entrustUserPhone", entrustUser.getEntrustUserPhone());
|
|
|
message.put("entrustUserName", entrustUser.getEntrustUserName());
|
|
message.put("entrustUserName", entrustUser.getEntrustUserName());
|
|
|
message.put("entrustIdCard", entrustUser.getEntrustIdCard());
|
|
message.put("entrustIdCard", entrustUser.getEntrustIdCard());
|
|
|
|
|
+ message.put("entrustIdCardImg", entrustUser.getEntrustIdCardImg());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (6 == tradeStatus) {
|
|
if (6 == tradeStatus) {
|
|
@@ -600,6 +602,7 @@ public class SecondTradeRecordServiceImpl extends ServiceImpl<SecondTradeRecordM
|
|
|
item.setEntrustUserPhone(entrustUser.getEntrustUserPhone());
|
|
item.setEntrustUserPhone(entrustUser.getEntrustUserPhone());
|
|
|
item.setEntrustUserName(entrustUser.getEntrustUserName());
|
|
item.setEntrustUserName(entrustUser.getEntrustUserName());
|
|
|
item.setEntrustIdCard(entrustUser.getEntrustIdCard());
|
|
item.setEntrustIdCard(entrustUser.getEntrustIdCard());
|
|
|
|
|
+ item.setEntrustIdCardImg(entrustUser.getEntrustIdCardImg());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -644,7 +647,7 @@ public class SecondTradeRecordServiceImpl extends ServiceImpl<SecondTradeRecordM
|
|
|
@Override
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public boolean modifyTradeRecord(int type, Integer tradeId, String transactionTime, String transactionLatitudeLongitude, String transactionLatitudeLongitudeAddress, String transactionLocation, String messageId,
|
|
public boolean modifyTradeRecord(int type, Integer tradeId, String transactionTime, String transactionLatitudeLongitude, String transactionLatitudeLongitudeAddress, String transactionLocation, String messageId,
|
|
|
- String userPhone, String userName, String idCard, Integer entrustId) throws Exception {
|
|
|
|
|
|
|
+ String userPhone, String userName, String idCard, Integer entrustId, String idCardImg) throws Exception {
|
|
|
try {
|
|
try {
|
|
|
if (type == 1) {
|
|
if (type == 1) {
|
|
|
LambdaUpdateWrapper<SecondTradeRecord> wrapper = new LambdaUpdateWrapper<>();
|
|
LambdaUpdateWrapper<SecondTradeRecord> wrapper = new LambdaUpdateWrapper<>();
|
|
@@ -695,6 +698,7 @@ public class SecondTradeRecordServiceImpl extends ServiceImpl<SecondTradeRecordM
|
|
|
updateWrapper.set(SecondEntrustUser::getEntrustUserPhone, userPhone);
|
|
updateWrapper.set(SecondEntrustUser::getEntrustUserPhone, userPhone);
|
|
|
updateWrapper.set(SecondEntrustUser::getEntrustUserName, userName);
|
|
updateWrapper.set(SecondEntrustUser::getEntrustUserName, userName);
|
|
|
updateWrapper.set(SecondEntrustUser::getEntrustIdCard, idCard);
|
|
updateWrapper.set(SecondEntrustUser::getEntrustIdCard, idCard);
|
|
|
|
|
+ updateWrapper.set(SecondEntrustUser::getEntrustIdCardImg, idCardImg);
|
|
|
}
|
|
}
|
|
|
secondEntrustUserMapper.update(null, updateWrapper);
|
|
secondEntrustUserMapper.update(null, updateWrapper);
|
|
|
} else {
|
|
} else {
|
|
@@ -708,6 +712,7 @@ public class SecondTradeRecordServiceImpl extends ServiceImpl<SecondTradeRecordM
|
|
|
.setEntrustUserPhone(userPhone)
|
|
.setEntrustUserPhone(userPhone)
|
|
|
.setEntrustUserName(userName)
|
|
.setEntrustUserName(userName)
|
|
|
.setEntrustIdCard(idCard)
|
|
.setEntrustIdCard(idCard)
|
|
|
|
|
+ .setEntrustIdCardImg(idCardImg)
|
|
|
.setDeleteFlag(0));
|
|
.setDeleteFlag(0));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|