bug
This commit is contained in:
@ -271,7 +271,7 @@ public class SubConstructionUserController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 查询项目班组列表 contractor:constructionUser:newUserList
|
* 查询项目班组列表 contractor:constructionUser:newUserList
|
||||||
*/
|
*/
|
||||||
@SaCheckPermission(value = {"project:projectTeam:addTeam", "contractor:constructionUser:newUserList"}, mode = SaMode.OR)
|
@SaCheckPermission(value = {"project:projectTeam:addTeam", "contractor:constructionUser:newUserList","contractor:constructionUser:addTeam"}, mode = SaMode.OR)
|
||||||
@GetMapping("/projectList")
|
@GetMapping("/projectList")
|
||||||
public TableDataInfo<BusProjectVo> list(BusProjectQueryReq req, PageQuery pageQuery) {
|
public TableDataInfo<BusProjectVo> list(BusProjectQueryReq req, PageQuery pageQuery) {
|
||||||
return projectService.queryPageList(req, pageQuery);
|
return projectService.queryPageList(req, pageQuery);
|
||||||
|
|||||||
@ -393,7 +393,7 @@ public class DesVolumeCatalogServiceImpl extends ServiceImpl<DesVolumeCatalogMap
|
|||||||
if (list != null && !list.isEmpty()) {
|
if (list != null && !list.isEmpty()) {
|
||||||
long count = 0;
|
long count = 0;
|
||||||
for (DesVolumeFile file : list) {
|
for (DesVolumeFile file : list) {
|
||||||
if (BusinessStatusEnum.DRAFT.getStatus().equals(file.getAuditStatus())) {
|
if (BusinessStatusEnum.DRAFT.getStatus().equals(file.getAuditStatus()) && !DesVolumeFile.WASTE.equals(file.getType())) {
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user