refactor(消息通知): 通知内容增加“订单号”
This commit is contained in:
parent
888335a5bc
commit
0e2cd55fbd
@ -7,6 +7,7 @@ import com.ktg.common.constant.UserConstants;
|
||||
import com.ktg.common.core.domain.entity.SysUser;
|
||||
import com.ktg.common.utils.StringUtils;
|
||||
import com.ktg.framework.message.MessageProvider;
|
||||
import com.ktg.system.domain.dto.AgvArrivedDto;
|
||||
import com.ktg.system.service.ISysUserService;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@ -91,8 +92,8 @@ public class SysMessageController extends BaseController {
|
||||
*/
|
||||
@Log(title = "消息", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/open/agv-arrived")
|
||||
public AjaxResult addAgv(@RequestBody SysMessage sysMessage) {
|
||||
sysMessageService.insertSysPromptMessage("AGV小车已到达","");
|
||||
public AjaxResult addAgv(@RequestBody AgvArrivedDto agvArrivedDto) {
|
||||
sysMessageService.insertSysPromptMessage("AGV小车已到达", "订单号: " + agvArrivedDto.getOrderNo());
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user