Commit 23602004 by jianan

FNA修改

parent f757847c
......@@ -79,7 +79,7 @@ public class ApiFnaController {
@Operation(summary = "更新流程")
public Result<Boolean> updateFna(@RequestBody FnaUpdateRequest fnaUpdateRequest) {
if (fnaUpdateRequest == null || StringUtils.isBlank(fnaUpdateRequest.getFnaBizId())) {
throw new BusinessException(ResultCode.PARAMS_ERROR.getCode(), ResultCode.PARAMS_ERROR.getMessage());
throw new BusinessException(ResultCode.PARAMS_ERROR.getCode(), "fnaBizId不能为空");
}
String appointmentNo = null;
if (StringUtils.isNotBlank(fnaUpdateRequest.getAppointmentBizId())) {
......@@ -103,7 +103,7 @@ public class ApiFnaController {
@Operation(summary = "流程详情")
public Result<FnaVO> getFnaVOByBizId(String fnaBizId, HttpServletRequest request) {
if (StringUtils.isBlank(fnaBizId)) {
return Result.fail(ResultCode.PARAMS_ERROR.getCode(), ResultCode.PARAMS_ERROR.getMessage());
return Result.fail(ResultCode.PARAMS_ERROR.getCode(), "fnaBizId不能为空");
}
// 查询数据库
Fna fna = fnaService.getByBizId(fnaBizId);
......
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