新增问题反馈绑定项目id

This commit is contained in:
2025-08-16 19:54:11 +08:00
parent 9093400922
commit 21ff8705ce
8 changed files with 62 additions and 3 deletions

View File

@@ -188,10 +188,13 @@ public class OaExpressServiceImpl implements IOaExpressService {
@Override
public Boolean getRefreshExpress(List<Long> expressIds) throws IOException {
System.out.println("12313123123");
for (Long expressId : expressIds) {
OaExpressVo oaExpressVo = baseMapper.selectVoById(expressId);
String expressType = oaExpressVo.getExpressType();
System.out.println(expressType);
if (expressType.equals("SF") && oaExpressVo.getStatus() ==1L) {
// 校验为顺丰则进入此位置更新状态
String result = SfRouteQueryUtil.queryRoute(oaExpressVo.getExpressCode(), oaExpressVo.getOwnerPhone() != null ? oaExpressVo.getOwnerPhone() : oaExpressVo.getSupplyPhone());
OaExpressVo oaExpressVo1 = SfRouteQueryUtil.parseData(result);

View File

@@ -39,7 +39,7 @@ public class OaFeedbackServiceImpl implements IOaFeedbackService {
*/
@Override
public OaFeedbackVo queryById(Long feedbackId){
return baseMapper.selectVoById(feedbackId);
return baseMapper.selectVoByIdPlus(feedbackId);
}
/**
@@ -77,6 +77,7 @@ public class OaFeedbackServiceImpl implements IOaFeedbackService {
Map<String, Object> params = bo.getParams();
QueryWrapper<OaFeedback> lqw = Wrappers.query();
lqw.eq("ofi.user_id", LoginHelper.getUserId());
lqw.orderByDesc("oaf.create_time");
return lqw;
}