NoticeArrivedStationController.java 1.23 KB
package com.huaheng.api.wcs.controller;

import com.huaheng.api.wcs.domain.PortArrivedNotication;
import com.huaheng.api.wcs.domain.TaskFinishDomain;
import com.huaheng.api.wcs.service.emptyOutHandle.EmptyOutHandleService;
import com.huaheng.api.wcs.service.noticeArrivedStation.NoticeArrivedStation;
import com.huaheng.framework.aspectj.lang.annotation.Log;
import com.huaheng.framework.aspectj.lang.constant.BusinessType;
import com.huaheng.framework.web.controller.BaseController;
import com.huaheng.framework.web.domain.AjaxResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Map;

@RestController
@RequestMapping("/API/WMS/v2")
public class NoticeArrivedStationController extends BaseController {


    @Resource
    private NoticeArrivedStation noticeArrivedStation;

    @Log(title = "到达拣选站台", action = BusinessType.INSERT)
    @PostMapping("/NoticeArrived")
    @ApiOperation("WCS到达拣选站台")
    @ResponseBody
    public AjaxResult EmptyOutHandle(@RequestBody PortArrivedNotication portArrivedNotication) {
        AjaxResult ajaxResult =noticeArrivedStation.NoticeArrived(portArrivedNotication);
        return ajaxResult;
    }

}