app查询单个领料申请单
This commit is contained in:
parent
fdd1f813e0
commit
fa8410f12a
|
|
@ -370,6 +370,24 @@ public class TmTaskController extends BaseController {
|
||||||
return AjaxResult.success(getDataTable(leaseAuditList));
|
return AjaxResult.success(getDataTable(leaseAuditList));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询机具领料审核列表 - app
|
||||||
|
*
|
||||||
|
* @param task 筛选条件
|
||||||
|
* @return 列表
|
||||||
|
*/
|
||||||
|
@Log(title = "查询单条机具领料审核列表- app", businessType = BusinessType.QUERY)
|
||||||
|
@GetMapping(value = "getLeaseAuditListDetail")
|
||||||
|
public AjaxResult getLeaseAuditListDetail(TmTask task) {
|
||||||
|
if (StringUtils.isNull(task)) {
|
||||||
|
return AjaxResult.error("参数错误");
|
||||||
|
}
|
||||||
|
startPage();
|
||||||
|
List<TmTask> leaseAuditList = tmTaskService.getLeaseAuditList(task);
|
||||||
|
return AjaxResult.success(getDataTable(leaseAuditList));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改任务信息
|
* 修改任务信息
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,6 @@ public class TmTaskServiceImpl implements TmTaskService {
|
||||||
Integer typeId = leaseApplyDetail.getTypeId();
|
Integer typeId = leaseApplyDetail.getTypeId();
|
||||||
//根据器具id找到对应的库管员信息
|
//根据器具id找到对应的库管员信息
|
||||||
Integer userId = tmTaskMapper.getKgByMaType(typeId);
|
Integer userId = tmTaskMapper.getKgByMaType(typeId);
|
||||||
System.out.println(userId);
|
|
||||||
if (userId != null && userId != 0 && SecurityUtils.getLoginUser().getUserid().equals((long)userId)) {
|
if (userId != null && userId != 0 && SecurityUtils.getLoginUser().getUserid().equals((long)userId)) {
|
||||||
// 统计预领数量
|
// 统计预领数量
|
||||||
count += leaseApplyDetail.getPreNum();
|
count += leaseApplyDetail.getPreNum();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue