Commit bb8104c5 by zhanghj

V1.6.0--修复服务商端指派技工没有终端报错问题

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26094 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 24500e8a
...@@ -3016,7 +3016,7 @@ public class OrderServiceImpl implements IOrderService { ...@@ -3016,7 +3016,7 @@ public class OrderServiceImpl implements IOrderService {
private ResultObject validateUserServiceFee(Integer terminalType, Integer userId, Integer userType private ResultObject validateUserServiceFee(Integer terminalType, Integer userId, Integer userType
, String serviceCode) { , String serviceCode) {
ResultObject result = null; ResultObject result = null;
if (Constants.USER_TYPE_MANAGER == terminalType) { if (terminalType != null && Constants.USER_TYPE_MANAGER == terminalType) {
JSONObject obj = userClient.getUserServiceFeeList(userId, serviceCode); JSONObject obj = userClient.getUserServiceFeeList(userId, serviceCode);
if (obj != null && obj.getIntValue("code") == ResultCodeEnum.SUCCESS.getCode()) { if (obj != null && obj.getIntValue("code") == ResultCodeEnum.SUCCESS.getCode()) {
JSONArray data = obj.getJSONArray("data"); JSONArray data = obj.getJSONArray("data");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!