| | |
| | | |
| | | import cn.dev33.satoken.annotation.SaCheckPermission; |
| | | import com.example.erp.common.Constants; |
| | | import com.example.erp.dto.pp.FlowCardDTO; |
| | | import com.example.erp.dto.pp.TeamOutputDTO; |
| | | import com.example.erp.entity.pp.FlowCard; |
| | | import com.example.erp.entity.sd.DeliveryDetail; |
| | | import com.example.erp.entity.sd.Order; |
| | | import com.example.erp.common.Result; |
| | | import com.example.erp.entity.sd.OrderDetail; |
| | | import com.example.erp.entity.sd.OrderGlassDetail; |
| | | import com.example.erp.dto.pp.FlowCardDTO; |
| | | import com.example.erp.entity.pp.FlowCard; |
| | | import com.example.erp.exception.ServiceException; |
| | | import com.example.erp.service.pp.FlowCardService; |
| | | import com.example.erp.tools.DownExcel; |
| | |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.sql.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | return Result.success(flowCardService.updateTerminationSv(processId,orderNumber,value)); |
| | | } |
| | | |
| | | @ApiOperation("取消终止") |
| | | @PostMapping("/updateTerminationNo/{processId}/{orderNumber}") |
| | | public Result updateTerminationNo( |
| | | @PathVariable String processId, |
| | | @PathVariable Integer orderNumber) { |
| | | |
| | | return Result.success(flowCardService.updateTerminationNoSv(processId,orderNumber)); |
| | | } |
| | | |
| | | @ApiOperation("查询用于修改生产终止数量的完工数量") |
| | | @PostMapping("/selectCompleted/{processId}/{orderNumber}/{process}") |
| | | public Result selectCompleted( |
| | |
| | | return Result.success(flowCardService.selectCompletedSv(processId, orderNumber,process)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("根据不同参数查询流程卡生产进度") |
| | | @PostMapping("/selectProcessCardProgress") |
| | | public Result selectProcessCardProgress(@RequestBody Map<String, String> object) { |
| | | return flowCardService.selectProcessCardProgressSv(object); |
| | | } |
| | | } |