|
|
@ -393,13 +393,15 @@ public class TestController implements ApplicationEventPublisherAware {
|
|
|
|
return PageListUtils.buildPageListResult(commonSubMerchantIdMapper.list(is_valid,sub_merchant_id,new PageBounds(page,limit)));
|
|
|
|
return PageListUtils.buildPageListResult(commonSubMerchantIdMapper.list(is_valid,sub_merchant_id,new PageBounds(page,limit)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/common_sub_merchant_id", method = RequestMethod.POST)
|
|
|
|
@RequestMapping(value = "/common_sub_merchant_id/{sub_merchant_id}", method = RequestMethod.POST)
|
|
|
|
public void addCommonSubMerchantId(@RequestBody JSONObject sub_merchant_id) {
|
|
|
|
public void addCommonSubMerchantId(@PathVariable String sub_merchant_id) {
|
|
|
|
commonSubMerchantIdService.save(sub_merchant_id.getJSONObject("params"));
|
|
|
|
JSONObject record = new JSONObject();
|
|
|
|
|
|
|
|
record.put("sub_merchant_id",sub_merchant_id);
|
|
|
|
|
|
|
|
commonSubMerchantIdService.save(record);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/common_sub_merchant_id/{sub_merchant_id}", method = RequestMethod.PUT)
|
|
|
|
@RequestMapping(value = "/common_sub_merchant_id/{sub_merchant_id}", method = RequestMethod.PUT)
|
|
|
|
public void addCommonSubMerchantId(@PathVariable String sub_merchant_id) {
|
|
|
|
public void disableCommonSubMerchantId(@PathVariable String sub_merchant_id) {
|
|
|
|
commonSubMerchantIdService.disable(sub_merchant_id);
|
|
|
|
commonSubMerchantIdService.disable(sub_merchant_id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|