InStandingTaskController.java 1.03 KB
package com.huaheng.api.wcs.controller;



import com.huaheng.api.wcs.domain.InStandingTaskDomain;
import com.huaheng.framework.aspectj.lang.annotation.ApiLogger;
import com.huaheng.framework.aspectj.lang.annotation.Log;
import com.huaheng.framework.aspectj.lang.constant.BusinessType;
import com.huaheng.framework.web.domain.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/API/WMS/v2")
@Api(tags = {"换站任务"}, value = "task")
public class InStandingTaskController {

    @Log(title = "任务下发至立库", action = BusinessType.INSERT)
    @PostMapping("/InStandingTask")
    @ApiOperation("换站任务")
    @ResponseBody
    @ApiLogger(apiName = "换站任务", from = "ERP")
    public AjaxResult WisJobSend(@RequestBody InStandingTaskDomain InStandingTaskDomain) {



        //判断字段是否存在,转到方法ser

    if (InStandingTaskDomain.getWeight()<700)
    {

    }



        return null;
    }


}