|
|
|
@ -3,6 +3,8 @@ package com.gaotao.modules.schedule.controller; |
|
|
|
import com.gaotao.common.constant.SysMsgConstant; |
|
|
|
import com.gaotao.common.utils.PageUtils; |
|
|
|
import com.gaotao.common.utils.R; |
|
|
|
import com.gaotao.modules.factory.entity.vo.MachineResourceVo; |
|
|
|
import com.gaotao.modules.pms.entity.StandardOperationEntity; |
|
|
|
import com.gaotao.modules.purchasingManagement.entity.ViewSapPoData; |
|
|
|
import com.gaotao.modules.schedule.data.*; |
|
|
|
import com.gaotao.modules.schedule.service.SchedulingService; |
|
|
|
@ -628,4 +630,11 @@ public class SchedulingController extends AbstractController { |
|
|
|
return R.ok(getLanguageMsg(SysMsgConstant.OBJECT_ID_200000)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/getResourceByUser") |
|
|
|
public R getResourceByUser(@RequestBody MachineResourceVo data){ |
|
|
|
List<MachineResourceVo> list = schedulingService.getResourceByUser(data); |
|
|
|
return R.ok().put("rows", list); |
|
|
|
} |
|
|
|
|
|
|
|
} |