no message

This commit is contained in:
2025-09-05 18:18:21 +08:00
parent 8f82df18fe
commit eae4b284bf

View File

@ -452,17 +452,20 @@ public class SendDataServiceImpl implements SendDataService {
private void modifyData(Long Cid,String response,String dataType){
JSONObject jsonObject=JSON.parseObject(response);
Long bId = Long.parseLong(jsonObject.get("data").toString());
Long bId;
switch (dataType){
case "userinfo":
break;
case "companyinfo":
bId = Long.parseLong(jsonObject.get("operator_id").toString());
companyStoreMapper.updateOpeId(bId,Cid);
break;
case "storeinfo":
bId = Long.parseLong(jsonObject.get("store_id").toString());
companyStoreMapper.updateStoreId(bId,Cid);
break;
case "batteryorder":
bId = Long.parseLong(jsonObject.get("data").toString());
companyStoreMapper.updateOdId(bId,Cid);
break;
}