|
@@ -406,7 +406,7 @@ public class GLPPWXGQueryAddServiceImpl implements GLPPWXGQueryAddService {
|
|
|
ItfTblWangdianWxgDownload::getWxgmc,
|
|
|
ItfTblWangdianWxgDownload::getYddh,
|
|
|
ItfTblWangdianWxgDownload::getFlag)
|
|
|
- // .eq(ItfTblWangdianWxgDownload::getWxgno,"S21A00200023")// 测试用 todo
|
|
|
+ .eq(ItfTblWangdianWxgDownload::getWdno,"S21A0365")// 测试用 todo
|
|
|
.eq(ItfTblWangdianWxgDownload::getFlag,DictTypeEnum.DICT_TYPE_FLAG_ON.getCode())
|
|
|
.like(ItfTblWangdianWxgDownload::getWdno,"S%").list();
|
|
|
|
|
@@ -428,25 +428,28 @@ public class GLPPWXGQueryAddServiceImpl implements GLPPWXGQueryAddService {
|
|
|
}
|
|
|
|
|
|
for (ItfTblWangdianWxgDownload wxgDownload :wxgRecs){
|
|
|
- log.info("师傅服务类目 a");
|
|
|
// 状态无效不处理
|
|
|
if (wxgDownload.getFlag() != null){
|
|
|
if (!wxgDownload.getFlag().trim().equals(DictTypeEnum.DICT_TYPE_FLAG_ON.getCode())){
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- log.info("师傅服务类目 b");
|
|
|
// 师傅在平台中不存在时不处理
|
|
|
String workerId = checkIsGreeWroker(Worker_Idcards, wxgDownload);
|
|
|
if (workerId.length()<1) {
|
|
|
continue;
|
|
|
}
|
|
|
-
|
|
|
- log.info("师傅服务类目 c");
|
|
|
wxgCategoryQueryAdd(wxgDownload,workerBrandAccounts,workerServiceCategoryDetailMap,sysDict,
|
|
|
sysDictRefMap, workerServiceCategoryDetailList);
|
|
|
}
|
|
|
+
|
|
|
+ workerBrandAccounts.clear();
|
|
|
+ Worker_Idcards.clear();
|
|
|
+ workerServiceCategoryDetailMap.clear();
|
|
|
+ sysDictRefMap.clear();
|
|
|
+ sysDictRef.clear();
|
|
|
+ wxgCategoryRec.clear();
|
|
|
+ workerServiceCategoryDetailList.clear();
|
|
|
}
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|