|
|
@ -76,8 +76,8 @@ public class DfProductMomentController extends BaseController {
|
|
|
|
condition(queryWrapper,dfProductMoment);
|
|
|
|
condition(queryWrapper,dfProductMoment);
|
|
|
|
boolean admin = SecurityUtils.isAdmin(SecurityUtils.getUserId());
|
|
|
|
boolean admin = SecurityUtils.isAdmin(SecurityUtils.getUserId());
|
|
|
|
if (!admin) {
|
|
|
|
if (!admin) {
|
|
|
|
|
|
|
|
if (!sysUser.getDeptId().equals(-1L)) {
|
|
|
|
if ("-99".equals(dfProductMoment.getStatus())) {
|
|
|
|
if ("-99".equals(dfProductMoment.getStatus())) {
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
SysUser byId = userService.getById(SecurityUtils.getUserId());
|
|
|
|
SysUser byId = userService.getById(SecurityUtils.getUserId());
|
|
|
|
if ("jj".equals(byId.getUserType()) || "kh".equals(byId.getUserType())) {
|
|
|
|
if ("jj".equals(byId.getUserType()) || "kh".equals(byId.getUserType())) {
|
|
|
@ -85,6 +85,7 @@ public class DfProductMomentController extends BaseController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
List<DfProductMoment> list = dfProductMomentService.list(queryWrapper);
|
|
|
|
List<DfProductMoment> list = dfProductMomentService.list(queryWrapper);
|
|
|
|
List<CmAttach> attachVo = cmAttachService.list();
|
|
|
|
List<CmAttach> attachVo = cmAttachService.list();
|
|
|
|
Map<String, List<CmAttach>> attachMap = attachVo.stream()
|
|
|
|
Map<String, List<CmAttach>> attachMap = attachVo.stream()
|
|
|
|