| | |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.LoginNoRequired; |
| | | import com.doumee.service.business.third.model.request.TmsLockStatusQueryRequest; |
| | | import com.doumee.service.business.third.model.response.TmsBaseResponse; |
| | | import com.doumee.service.business.third.model.response.TmsLockStatusQueryResponse; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.core.wms.model.response.WmsBaseResponse; |
| | | import com.doumee.service.business.third.TmsService; |
| | | import com.doumee.service.business.third.WmsService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.BufferedReader; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author 江蹄蹄 |
| | |
| | | |
| | | @Autowired |
| | | private WmsService wmsService; |
| | | @Autowired |
| | | private TmsService tmsService; |
| | | |
| | | @ApiOperation("【WMS】推送入库单通知任务") |
| | | @PostMapping("/push/inboundNotice") |
| | |
| | | doPringParam(request,"【WMS】推送出入库作业完成通知任务"); |
| | | return new WmsBaseResponse(); |
| | | } |
| | | @ApiOperation("【TMS】电子锁上锁时间接口") |
| | | @LoginNoRequired |
| | | @PostMapping("/tms/lockStatusQuery") |
| | | public TmsBaseResponse<List<TmsLockStatusQueryResponse>> lockStatusQuery(@RequestBody TmsLockStatusQueryRequest request ) { |
| | | return tmsService.lockStatusQuery(request); |
| | | } |
| | | |
| | | public static void doPringParam(HttpServletRequest request,String name) { |
| | | try { |