| | |
| | | import com.doumee.service.business.PlatformJobService; |
| | | import com.doumee.service.business.PlatformService; |
| | | import com.doumee.service.business.PlatformShowParamService; |
| | | 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.*; |
| | | |
| | |
| | | |
| | | @Autowired |
| | | private PlatformShowParamService platformShowParamService; |
| | | |
| | | @Autowired |
| | | private WmsService wmsService; |
| | | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("新建") |
| | |
| | | if(Constants.equalsInteger(oldPlatformJob.getStatus(),Constants.PlatformJobStatus.WAIT_CALL.getKey())){ |
| | | platformJobService.sendInPark(platformJob); |
| | | } |
| | | if(!Constants.equalsInteger(platformJob.getType(),Constants.FOUR) |
| | | && StringUtils.isNotBlank(platformJob.getBillCode())){ |
| | | //通知WMS绑定月台信息 |
| | | wmsService.orderPlatformBind(platformJob); |
| | | } |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |