no message
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user