进口仓单推送
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
package com.mhd.oms.interfaces.facade.gwLog;
|
||||
|
||||
|
||||
import com.mhd.common.core.utils.bean.BeanUtils;
|
||||
import com.mhd.common.core.web.controller.BaseController;
|
||||
import com.mhd.common.core.web.domain.AjaxResult;
|
||||
import com.mhd.common.core.web.page.TableDataInfo;
|
||||
import com.mhd.oms.application.service.gwLog.GwLogApplicationService;
|
||||
import com.mhd.oms.domain.gwLog.entity.GwLog;
|
||||
import com.mhd.oms.domain.gwLog.repository.mapper.GwLogMapper;
|
||||
import com.mhd.oms.domain.gwLog.repository.po.GwLogPO;
|
||||
import com.mhd.oms.interfaces.dto.gwLog.GwLogDTO;
|
||||
import io.swagger.annotations.Api;
|
||||
@@ -48,5 +50,16 @@ public class GwLogApi extends BaseController {
|
||||
|
||||
}
|
||||
|
||||
@ApiOperation("查询GW日志")
|
||||
@PostMapping("/saveGwLog")
|
||||
public AjaxResult saveGwLog(GwLogDTO gwLogDTO){
|
||||
return gwLogApplicationService.insertGwLog(gwLogDTO);
|
||||
}
|
||||
|
||||
@ApiOperation("查询GW日志")
|
||||
@PostMapping("/updateGwLog")
|
||||
public AjaxResult updateGwLog(GwLogDTO gwLogDTO){
|
||||
return gwLogApplicationService.updateGwLog(gwLogDTO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user