use of com.eservice.api.model.task_record.TaskRecordDetail in project sinsim by WilsonHu.
the class TaskRecordController method selectAllQaTaskRecordDetailByUserAccount.
/**
* 根据用户返回所有检测员detail,其中不限于包括:
* "machine_id":"", -->machine.machine_id
* "task_name":"", -->task_record.task_name
* "status":"", -->task_record.status
* "交货日期":"", -->machine_order.contract_ship_date
* "计划日期":"", -->machine_order.plan_ship_date
*
* @param page
* @param size
* @param userAccount
* @return
*/
@PostMapping("selectAllQaTaskRecordDetailByUserAccount")
public Result selectAllQaTaskRecordDetailByUserAccount(@RequestParam(defaultValue = "0") Integer page, @RequestParam(defaultValue = "0") Integer size, @RequestParam String userAccount) {
PageHelper.startPage(page, size);
List<TaskRecordDetail> ListTaskRecordDetail = taskRecordService.selectAllQaTaskRecordDetailByUserAccount(userAccount);
PageInfo pageInfo = new PageInfo(ListTaskRecordDetail);
return ResultGenerator.genSuccessResult(pageInfo);
}
use of com.eservice.api.model.task_record.TaskRecordDetail in project sinsim by WilsonHu.
the class TaskRecordController method selectAllTaskRecordDetail.
/**
* 给生产部管理员返回所有detail,其中不限于包括:
* {
* "machine_id":"",
* "task_name":"",
* "status":"",
* "交货日期":"",
* "计划日期":"",
* }
*
* @param page
* @param size
* @return
*/
@PostMapping("selectAllTaskRecordDetail")
public Result selectAllTaskRecordDetail(@RequestParam(defaultValue = "0") Integer page, @RequestParam(defaultValue = "0") Integer size) {
PageHelper.startPage(page, size);
List<TaskRecordDetail> ListTaskRecordDetail = taskRecordService.selectAllTaskRecordDetail();
PageInfo pageInfo = new PageInfo(ListTaskRecordDetail);
return ResultGenerator.genSuccessResult(pageInfo);
}
use of com.eservice.api.model.task_record.TaskRecordDetail in project sinsim by WilsonHu.
the class TaskRecordController method selectUnPlannedTaskRecordByNamePlateAndAccount.
/**
* 返回待计划的Task_record具体信息
*
* @param page
* @param size
* @param namePlate
* @param account
* @return
*/
@PostMapping("/selectUnPlannedTaskRecordByNamePlateAndAccount")
public Result selectUnPlannedTaskRecordByNamePlateAndAccount(@RequestParam(defaultValue = "0") Integer page, @RequestParam(defaultValue = "0") Integer size, @RequestParam(defaultValue = "0") String namePlate, @RequestParam(defaultValue = "0") String account) {
PageHelper.startPage(page, size);
List<TaskRecordDetail> list = taskRecordService.selectUnPlannedTaskRecordByNamePlateAndAccount(namePlate, account);
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
use of com.eservice.api.model.task_record.TaskRecordDetail in project sinsim by WilsonHu.
the class TaskRecordController method selectTaskRecordByNamePlateAndAccount.
/**
* 根据account和机器的铭牌号(nameplate),
* 返回对应机器正在操作的步骤(除去status为初始化、已计划和质检完成的task_record),且属于该account的排班计划。
*
* @param page
* @param size
* @param namePlate
* @param account
* @return
*/
@PostMapping("/selectTaskRecordByNamePlateAndAccount")
public Result selectTaskRecordByNamePlateAndAccount(@RequestParam(defaultValue = "0") Integer page, @RequestParam(defaultValue = "0") Integer size, @RequestParam(defaultValue = "0") String namePlate, @RequestParam(defaultValue = "0") String account) {
PageHelper.startPage(page, size);
List<TaskRecordDetail> list = taskRecordService.selectTaskRecordByNamePlateAndAccount(namePlate, account);
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
use of com.eservice.api.model.task_record.TaskRecordDetail in project sinsim by WilsonHu.
the class TaskRecordController method selectPlanedTaskRecords.
/**
* 获取已计划的task record
*/
@PostMapping("/selectPlanedTaskRecords")
public Result selectPlanedTaskRecords(@RequestParam(defaultValue = "0") Integer page, @RequestParam(defaultValue = "0") Integer size, String orderNum, String machineStrId, String taskName, String nameplate, Integer installStatus, Integer machineType, String query_start_time, String query_finish_time, @RequestParam(defaultValue = "true") Boolean is_fuzzy) {
PageHelper.startPage(page, size);
List<TaskRecordDetail> list = taskRecordService.selectPlanedTaskRecords(orderNum, machineStrId, taskName, nameplate, installStatus, machineType, query_start_time, query_finish_time, is_fuzzy);
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
Aggregations