zjh
2025-06-05 2c19fa65dc87ea8f3d81f84154f4eeabff7f8d00
ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDeptController.java
@@ -822,8 +822,10 @@
    @ApiOperation(value = "医生点击体检信息详情(只显示父项目列表)")
//    修改按照科室查询
    public AjaxResult getParentList(@ApiParam(value = "客户体检号") @RequestParam String tjNumber,
                                    @ApiParam(value = "已检未检状态 0 未检 1已检") @RequestParam Integer type) {
                                    @ApiParam(value = "已检未检状态 0 未检 1已检") @RequestParam(required = false) Integer type) {
        if(type == null)type= 0;
        String userId = SecurityUtils.getLoginUser().getUserId();
        log.info("当前登录用户ID ->{}",userId);
        Integer ksId = null;
        SysUser sysUser = null;
        if (null != userId) {
@@ -896,6 +898,7 @@
                }
            }
        }
        log.info("type ->{},查询关联科室集合 ->{}",type,split);
            List<TjOrderRemark> list;
            if(null != sysUser && sysUser.getUserName().equals("10001")){
                if(type !=1){
@@ -911,6 +914,7 @@
                }
            }
            if (null ==list || list.isEmpty()) {
                log.info("触发该科室下无项目");
                return AjaxResult.error("该科室下无项目!");
            }
            for (TjOrderRemark tjOrderRemark : list) {