Pārlūkot izejas kodu

资料进度查询隐藏与显示

cr 3 nedēļas atpakaļ
vecāks
revīzija
a248ccb954

+ 4 - 1
blade-service/blade-business/src/main/java/org/springblade/business/controller/MaterialProgressController.java

@@ -41,6 +41,7 @@ import org.springblade.manager.feign.WbsTreeContractClient;
 import org.springblade.manager.vo.WbsTreeContractTreeVOS;
 import org.springblade.system.entity.Menu;
 import org.springblade.system.entity.RoleMenu;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.jdbc.core.BeanPropertyRowMapper;
 import org.springframework.jdbc.core.JdbcTemplate;
 import org.springframework.web.bind.annotation.*;
@@ -71,8 +72,10 @@ public class MaterialProgressController extends BladeController {
     private final IImageClassificationFileService imageClassificationFileService;
 
     private final ContractClient contractClient;
+
     private final JdbcTemplate jdbcTemplate;
 
+
     /**
      * 资料进度
      */
@@ -563,7 +566,7 @@ public class MaterialProgressController extends BladeController {
     @GetMapping("/hideProcessMaterial")
     @ApiOperation(value = "隐藏进度")
     @ApiOperationSupport(order = 2)
-    private R hideProcessMaterial(Long contractId,Integer classifyType,Integer hideType,Integer type){
+    public R hideProcessMaterial(Long contractId,Integer classifyType,Integer hideType,Integer type){
         classifyType = StringUtils.isEmpty(String.valueOf(classifyType)) ? 1 : classifyType;
         if(type==0){
             String sql="select * from m_hide_process where contract_id= "+contractId+" and classify_type= "+classifyType+" and hide_type= "+hideType;