Commit 53450295 by 徐高华

Merge branch 'feature/xgh/202503' into 'master'

替换删除导购接口

See merge request !2845
parents 795441d1 4eb7b080
......@@ -472,6 +472,10 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
@Override
public void getMomentId(Long planId) {
TabQwMomentPlan plan = this.qwMomentPlanMapper.getById(planId) ;
if(null == plan) {
logger.info("计划已删除");
return;
}
String wxEnterpriseId =plan.getWxEnterpriseId() ;
WxEnterpriseQwDTO qwDTO = this.wxEnterpriseService.getQwInfo(wxEnterpriseId);
ServiceResponse<Object> resp2 = this.qywxExternalUserService.getMomentTaskResult(qwDTO.getThirdCorpid(),
......
......@@ -29,7 +29,8 @@ public class SyncHaobanToGicApiServiceImpl implements SyncHaobanToGicApiService
@Override
public void delGicClerk(String gicClerkId) {
logger.info("【删除gicClerk】clerkID={}",gicClerkId);
clerkService.delClerk(gicClerkId);
//clerkService.delClerk(gicClerkId);
this.clerkService.delClerkByHaoBan(gicClerkId) ;
}
// @Override
......
......@@ -139,6 +139,9 @@ public class OfflinePreController {
if(StringUtils.isBlank(offlinePreId) || !offlinePreId.trim().chars().allMatch(Character::isDigit)) {
return RestResponse.failure("9999","参数错误") ;
}
if(offlinePreId.length()>18) {
return RestResponse.failure("9999","参数错误") ;
}
ServiceResponse<Void> countOfflinePre = offlinePreApiService.checkOfflinePreWriteOff(Long.valueOf(offlinePreId.trim()), storeId);
return JSONObject.parseObject(JSONObject.toJSONString(countOfflinePre, SerializerFeature.WriteMapNullValue), RestResponse.class);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment