Commit 2d9443f2 by zhanghj

V1.6.0--修复自动生成对账单是服务商时候没有银行卡bug

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26084 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 55e0c565
......@@ -590,10 +590,18 @@ public class ReconciliationServiceImpl implements ReconciliationService {
String reconciliationCycle = req.getReconciliationCycle();
Integer updateBy = req.getUpdateBy() == null ? -1 : req.getUpdateBy();
list.forEach(sysReconciliation ->{
JSONObject data = null;
JSONObject object = new JSONObject();
Integer userType = sysReconciliation.getUserType();
Integer userId = sysReconciliation.getUserId();
String reconciliationSn = sysReconciliation.getReconciliationSn();
JSONObject object = userClient.getMechanicById(userId);
JSONObject data = object.getJSONObject("data");
if (com.glsx.common.constants.Constants.USER_TYPE_SP == userType) {
object = userClient.getProvider(userId);
} else {
object = userClient.getMechanicById(userId);
}
data = object.getJSONObject("data");
Date now = new Date();
if (data != null) {
String phoneNumber = data.getString("phoneNumber");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!