Commit af2f9239 authored by huyuchen's avatar huyuchen

fdd 代码修改

parent 0a3cdcf5
......@@ -982,17 +982,17 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
**/
private R<Boolean> checkUpdate(TPreDispatchInfo tPreDispatchInfo, Map<String, SysArea> areaHashMap,
Map<String, SysArea> areaIdMap, TPreDispatchInfo preDispatchTemp) {
// if (null == tPreDispatchInfo || Common.isEmpty(tPreDispatchInfo.getId())) {
// return R.failed(CommonConstants.PARAM_IS_NOT_ERROR);
// }
// if (null == preDispatchTemp) {
// return R.failed(CommonConstants.ERROR_NO_DOMAIN);
// }
// // 先验证必填项
// String errorMessage = checkField(tPreDispatchInfo);
// if (null != errorMessage) {
// return R.failed(errorMessage);
// }
if (null == tPreDispatchInfo || Common.isEmpty(tPreDispatchInfo.getId())) {
return R.failed(CommonConstants.PARAM_IS_NOT_ERROR);
}
if (null == preDispatchTemp) {
return R.failed(CommonConstants.ERROR_NO_DOMAIN);
}
// 先验证必填项
String errorMessage = checkField(tPreDispatchInfo);
if (null != errorMessage) {
return R.failed(errorMessage);
}
R<AreaVo> areaListR = upmsDaprUtils.getAreaListR();
if (null == areaListR || areaListR.getCode() != CommonConstants.SUCCESS) {
return R.failed(PreDispatchConstants.GET_AREA_INFO);
......
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