修改--产品管理修改返回资源位已购未购情况
This commit is contained in:
parent
4935d7cda1
commit
93dbcd4f65
@ -222,7 +222,12 @@ public class SysSourceController extends BaseController {
|
||||
|
||||
//------------------------------------实际返回数据----------------------------------------------
|
||||
List<SourceUseCountDto> seUserWorkCount = dailySysService.getSourceUserCount(startDate, endDate);
|
||||
|
||||
// 还要计数资源位数量--未使用资源位数量=资源位总数-已使用数量.
|
||||
int sourceCount = sysSourceService.selectSysSourceList(new SysSource()).size();
|
||||
for(SourceUseCountDto sourceUseCountDto : seUserWorkCount){
|
||||
sourceUseCountDto.setUnUseCount(sourceCount-sourceUseCountDto.getUseCount());
|
||||
}
|
||||
|
||||
//------------------------------------实际返回数据结束----------------------------------------------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user