Commit ba73e7a5 authored by 杨钧's avatar 杨钧

去除总金额

parent d0803629
......@@ -77,8 +77,9 @@ public class JsonResult<T> implements Serializable {
@Override
public String toString() {
return "JsonResult{" +
"businessCode='" + businessCode + '\'' +
"msg='" + msg + '\'' +
", code='" + code + '\'' +
", businessCode='" + businessCode + '\'' +
", data=" + data +
'}';
}
......
......@@ -403,9 +403,10 @@ public class OrderServiceImpl implements IOrderService {
fieldDataMap.put("title", "结清违约金");
} else if ("otherFee".equals(key)) {
fieldDataMap.put("title", "应还其他费用");
} else if ("totalAmount".equals(key)) {
fieldDataMap.put("title", "应还总额");
}
// else if ("totalAmount".equals(key)) {
// fieldDataMap.put("title", "应还总额");
// }
fieldDataMap.put("value", Constant.DECIMAL_FORMAT2.format(value));
dataList.add(fieldDataMap);
}
......
......@@ -447,8 +447,8 @@ public class XyqbServiceImpl implements IXyqbService {
if (Objects.isNull(jsonResult)) {
return JsonResult.buildErrorStateResult("操作失败,xyqb返回错误", Boolean.FALSE);
} else {
if(!jsonResult.isSuccess()){
return JsonResult.buildErrorStateResult(StringUtils.isNotBlank(jsonResult.getMsg())?jsonResult.getMsg():"操作失败,xyqb返回错误", Boolean.FALSE);
if (!jsonResult.isSuccess()) {
return JsonResult.buildErrorStateResult(StringUtils.isNotBlank(jsonResult.getMsg()) ? jsonResult.getMsg() : "操作失败,xyqb返回错误", Boolean.FALSE);
}
return JsonResult.buildSuccessResult("[操作成功]", Boolean.TRUE);
}
......
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