|
|
|
@ -15,6 +15,8 @@ import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
|
import java.lang.reflect.Array; |
|
|
|
|
import java.util.Arrays; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
@ -35,8 +37,8 @@ public class ZyProductPlanAutoController extends JeecgController<ZyProductPlan, |
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "生产计划自动化-模拟测试", notes = "生产计划自动化-模拟测试") |
|
|
|
|
@GetMapping(value = "/productPlanAuto4Mock") |
|
|
|
|
public Result<?> productPlanAuto4Mock(List<String> workOrderIds) { |
|
|
|
|
List<Map<String, List<ZyPlanProcess>>> list = iZyProductPlanAutoService.doAuto(workOrderIds); |
|
|
|
|
public Result<?> productPlanAuto4Mock(String workOrderIds) { |
|
|
|
|
List<Map<String, List<ZyPlanProcess>>> list = iZyProductPlanAutoService.doAuto(Arrays.asList(workOrderIds.split(","))); |
|
|
|
|
return Result.OK(list); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|