|
|
@@ -180,6 +180,7 @@ public class FmsCropController extends BaseController
|
|
|
if (list.size() > 0) {
|
|
|
return AjaxResult.error(ErrorCode.FMS_CROP_EXIST.getCode(), ErrorCode.FMS_CROP_EXIST.getMessage());
|
|
|
}
|
|
|
+ fmsCrop.setTid(SecurityUtils.getTid());
|
|
|
return toAjax(fmsCropService.insertFmsCrop(fmsCrop));
|
|
|
}
|
|
|
|
|
|
@@ -200,7 +201,7 @@ public class FmsCropController extends BaseController
|
|
|
return AjaxResult.error(ErrorCode.FMS_CROP_EXIST.getCode(), ErrorCode.FMS_CROP_EXIST.getMessage());
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ fmsCrop.setTid(SecurityUtils.getTid());
|
|
|
return toAjax(fmsCropService.updateFmsCrop(fmsCrop));
|
|
|
}
|
|
|
|