红圈通接口改造
This commit is contained in:
@@ -17,7 +17,7 @@ public class HqtQuotationSheetAPIRequest {
|
||||
/**
|
||||
* @description:报价编号
|
||||
*/
|
||||
private String name;
|
||||
private String name__c;
|
||||
|
||||
@Data
|
||||
public static class Field1__c {
|
||||
|
||||
@@ -104,11 +104,11 @@ public class HqtAPIServiceImpl implements HqtAPIService {
|
||||
field1__c.setCode(request.getHqtShopId());
|
||||
|
||||
HqtTokenDTO hqtToken = this.getHqtToken();
|
||||
String requestUrl = hqtToken.getEndPoint() + "/v1/data/objects/CustomObject77__c";
|
||||
String requestUrl = hqtToken.getEndPoint() + "/v1/data/objects/CustomObject638__c";
|
||||
|
||||
HqtQuotationSheetAPIRequest apiRequest = new HqtQuotationSheetAPIRequest();
|
||||
apiRequest.setField1__c(field1__c);
|
||||
apiRequest.setName(request.getQuotationSheetId());
|
||||
apiRequest.setName__c(request.getQuotationSheetId());
|
||||
|
||||
sendPostRequest(JSONObject.toJSONString(apiRequest), requestUrl, hqtToken);
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ public class OrderSysInfoServiceImpl implements OrderSysInfoService {
|
||||
map.put("storeName", shopInfoDO.getShopName());
|
||||
//自有店财务
|
||||
UserRoleEnum finance = UserRoleEnum.FINANCE;
|
||||
if (JoinModeEnum.OWN_STORE.equals(shopInfo.getJoinMode())) {
|
||||
if (JoinModeEnum.OWN_STORE.getCode()==(shopInfo.getJoinMode())) {
|
||||
finance = UserRoleEnum.OWN_SHOP_OFFICE;
|
||||
}
|
||||
List<EnterpriseUserDO> itList = userAuthMappingService.getAllUserByRoleEnumAndRegionId(finance, shopInfoDO.getRegionId());
|
||||
|
||||
Reference in New Issue
Block a user