no message

This commit is contained in:
2025-09-28 11:05:27 +08:00
parent 6d868b48fe
commit 9639f37670
2 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@ public interface CompanyStoreMapper extends BaseMapper<StoreInfo> {
int updateOpeId(long bOpId, long cId); int updateOpeId(long bOpId, long cId);
int updateOdId(long bOdId, long cId); int updateOdId(String bOdId, long cId);
/** /**

View File

@ -457,6 +457,7 @@ public class SendDataServiceImpl implements SendDataService {
JSONObject jsonObject=JSON.parseObject(response); JSONObject jsonObject=JSON.parseObject(response);
Long bId; Long bId;
String bOrdNo;
switch (dataType){ switch (dataType){
case "userinfo": case "userinfo":
break; break;
@ -469,8 +470,8 @@ public class SendDataServiceImpl implements SendDataService {
companyStoreMapper.updateStoreId(bId,Cid); companyStoreMapper.updateStoreId(bId,Cid);
break; break;
case "batteryorder": case "batteryorder":
bId = Long.parseLong(jsonObject.get("order_no").toString()); bOrdNo = jsonObject.get("order_no").toString();
companyStoreMapper.updateOdId(bId,Cid); companyStoreMapper.updateOdId(bOrdNo,Cid);
break; break;
} }