Commit 1c3b08cc authored by 温志超's avatar 温志超

更新修改报工

parent 57927328
......@@ -809,7 +809,7 @@ public class ProTaskServiceImpl implements IProTaskService {
double maxWorkunitQuantityConst = taskWorkunit.getQuantity().doubleValue();
//检查该工单绑定的生产版本是否允许超报,PS只有首工序允许
if(taskQuantityWaitConst.compareTo(feedbackQualifyConst.add(fuantityUnqualify)) < 0){
if(task.getOrdinal() != 1){
if(task.getOrdinal() == 1){
if(proWorkorders.size() > 0 && proWorkorders.get(0).getProductionSolutionId() != null){
ProProductionSolution proProductionSolution
= proProductionSolutionMapper.selectProProductionSolutionByProductionSolutionId(proWorkorders.get(0).getProductionSolutionId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment