封装文言提示

This commit is contained in:
Wang.Huan
2025-02-20 18:30:39 +08:00
parent e42aff436a
commit 1e45775c1c
6 changed files with 111 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ package com.openhis.web.InventoryManage.controller;
import javax.servlet.http.HttpServletRequest;
import com.core.common.utils.MessageUtils;
import com.openhis.common.constant.PromptMsgConstant;
import com.openhis.web.InventoryManage.dto.SupplySaveRequestDto;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@@ -38,6 +40,12 @@ public class PurchaseInventoryController {
private final IChargeItemService chargeItemService;
@GetMapping(value = "/test")
public R<?> test(){
//return R.ok(null, MessageUtils.createMessage(PromptMsgConstant.Common.M00002,new Object[] {"12345"})) ;
return R.fail(MessageUtils.createMessage(PromptMsgConstant.Common.M00002,new Object[] {"12345"})) ;
}
/**
* 入库单据分页列表
*