|
|
|
@ -3,6 +3,7 @@ package com.op.mes.controller;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.op.mes.domain.MesPrepare;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
@ -113,4 +114,16 @@ public class MesPrepareDetailController extends BaseController {
|
|
|
|
public AjaxResult remove(@PathVariable String[] recordIds) {
|
|
|
|
public AjaxResult remove(@PathVariable String[] recordIds) {
|
|
|
|
return toAjax(mesPrepareDetailService.deleteMesPrepareDetailByRecordIds(recordIds));
|
|
|
|
return toAjax(mesPrepareDetailService.deleteMesPrepareDetailByRecordIds(recordIds));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 领料单记录批量打印明细列表
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @return
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@RequiresPermissions("mes:prepareDetail:export")
|
|
|
|
|
|
|
|
@Log(title = "mes备料打印生产物料", businessType = BusinessType.EXPORT)
|
|
|
|
|
|
|
|
@GetMapping("/printBatchPrepare")
|
|
|
|
|
|
|
|
public AjaxResult printBatchPrepare(MesPrepare params) {
|
|
|
|
|
|
|
|
return AjaxResult.success(mesPrepareDetailService.printBatchPrepare(params));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|