Browse Source

2025-06-25

master
fengyuan_yang 7 months ago
parent
commit
dccb95786b
  1. 2
      src/main/java/com/spring/modules/sampleManagement/controller/TechnicalSpecificationController.java
  2. 2
      src/main/resources/mapper/request/RequestManageMapper.xml

2
src/main/java/com/spring/modules/sampleManagement/controller/TechnicalSpecificationController.java

@ -1255,7 +1255,7 @@ public class TechnicalSpecificationController {
String status = technicalSpecificationService.getBMStatusDesc(data);
Boolean flag = false;
// 是否超级管理员
if (sysMenuDao.checkSuperAdmin(((SysUserEntity) SecurityUtils.getSubject().getPrincipal()).getUserId()).size() > 0) {
if (!sysMenuDao.checkSuperAdmin(((SysUserEntity) SecurityUtils.getSubject().getPrincipal()).getUserId()).isEmpty()) {
flag = true;
}
return R.ok().put("status",status).put("superAdmin",flag);

2
src/main/resources/mapper/request/RequestManageMapper.xml

@ -376,7 +376,7 @@
b.final_part_no
from plm_technical_specification_sheet a
left join plm_project_part b on a.site = b.site and a.test_part_no = b.test_part_no and a.project_id = b.project_id
where site = #{site} and code_no = #{codeNo}
where a.site = #{site} and a.code_no = #{codeNo}
</select>
<select id="checkBomOfficialFlag" resultType="com.spring.modules.part.vo.BomDetailVo">

Loading…
Cancel
Save