app查询单个领料申请单

This commit is contained in:
liang.chao 2024-01-17 13:52:10 +08:00
parent fdd1f813e0
commit fa8410f12a
2 changed files with 18 additions and 1 deletions

View File

@ -370,6 +370,24 @@ public class TmTaskController extends BaseController {
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));
}
/**
* 修改任务信息
*/

View File

@ -131,7 +131,6 @@ public class TmTaskServiceImpl implements TmTaskService {
Integer typeId = leaseApplyDetail.getTypeId();
//根据器具id找到对应的库管员信息
Integer userId = tmTaskMapper.getKgByMaType(typeId);
System.out.println(userId);
if (userId != null && userId != 0 && SecurityUtils.getLoginUser().getUserid().equals((long)userId)) {
// 统计预领数量
count += leaseApplyDetail.getPreNum();