fix:报告细节调整

This commit is contained in:
FCL
2026-03-24 10:26:03 +08:00
parent 418932d546
commit 6077ee78f0
4 changed files with 8 additions and 3 deletions

View File

@@ -36,9 +36,9 @@ public interface ReportDocumentMainMapper extends BaseMapperX<ReportDocumentMain
wrapper.eqIfPresent(ReportDocumentMainDO::getFlowKey, reqVO.getFlowKey());
wrapper.eqIfPresent(ReportDocumentMainDO::getFlowSerialNumber, reqVO.getFlowSerialNumber());
wrapper.eqIfPresent(ReportDocumentMainDO::getCurrentNode, reqVO.getCurrentNode());
wrapper.eqIfPresent(ReportDocumentMainDO::getDocumentCode, reqVO.getDocumentCode());
wrapper.likeIfPresent(ReportDocumentMainDO::getDocumentCode, reqVO.getDocumentCode());
wrapper.eqIfPresent(ReportDocumentMainDO::getDocumentType, reqVO.getDocumentType());
wrapper.eqIfPresent(ReportDocumentMainDO::getDocumentTitle, reqVO.getDocumentTitle());
wrapper.likeIfPresent(ReportDocumentMainDO::getDocumentTitle, reqVO.getDocumentTitle());
wrapper.eqIfPresent(ReportDocumentMainDO::getDocumentConfig, reqVO.getDocumentConfig());
wrapper.eqIfPresent(ReportDocumentMainDO::getDocumentSignature, reqVO.getDocumentSignature());
wrapper.betweenIfPresent(ReportDocumentMainDO::getDocumentStartTime, reqVO.getDocumentStartTime());

View File

@@ -94,6 +94,9 @@ public class IWorkBizCallbackListener implements RocketMQListener<IWorkBizCallba
LoginUser loginUser = new LoginUser();
loginUser.setId(jsonObject.getLong("qms_user_id"));
loginUser.setVisitDeptId(jsonObject.getLong("qms_dept_id"));
loginUser.setVisitCompanyId(jsonObject.getLong("qms_company_id"));
loginUser.setId(jsonObject.getLong("qms_user_id"));
loginUser.setUserType(UserTypeEnum.ADMIN.getValue());
loginUser.setTenantId(jsonObject.getLong("qms_tenant_id"));
loginUser.setExpiresTime(LocalDateTime.now().plusHours(1));

View File

@@ -64,7 +64,7 @@ import static com.zt.plat.module.qms.enums.QmsBpmConstant.BPM_CALLBACK_BEAN_NAME
@Service("reportDocumentMainService")
@Validated
@Slf4j
@DeptDataPermissionIgnore(enable = "true")
@DeptDataPermissionIgnore(enable = "false")
public class ReportDocumentMainServiceImpl implements ReportDocumentMainService, BMPCallbackInterface {
@Resource private ReportDocumentMainMapper reportDocumentMainMapper;

View File

@@ -5,6 +5,7 @@ import com.zt.plat.framework.common.exception.ServiceException;
import com.zt.plat.framework.common.pojo.CommonResult;
import com.zt.plat.framework.common.pojo.PageResult;
import com.zt.plat.framework.common.util.object.BeanUtils;
import com.zt.plat.framework.datapermission.core.annotation.DeptDataPermissionIgnore;
import com.zt.plat.module.qms.common.dic.controller.vo.*;
import com.zt.plat.module.qms.common.dic.controller.vo.DictionaryBusinessPageReqVO;
import com.zt.plat.module.qms.common.dic.controller.vo.DictionaryBusinessRespVO;
@@ -42,6 +43,7 @@ import static com.zt.plat.module.qms.enums.ErrorCodeConstants.*;
@Service
@Validated
@Slf4j
@DeptDataPermissionIgnore(enable = "false")
public class DictionaryBusinessServiceImpl implements DictionaryBusinessService {
private int id_path_update_level_limit = 7;
@Resource private DictionaryBusinessMapper dictionaryBusinessMapper;