com.macro.mall.model.OmsOrderSetting Java Examples

The following examples show how to use com.macro.mall.model.OmsOrderSetting. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OmsOrderSettingController.java    From mall with Apache License 2.0 5 votes vote down vote up
@ApiOperation("修改指定订单设置")
@RequestMapping(value = "/update/{id}", method = RequestMethod.POST)
@ResponseBody
public CommonResult update(@PathVariable Long id, @RequestBody OmsOrderSetting orderSetting) {
    int count = orderSettingService.update(id,orderSetting);
    if(count>0){
        return CommonResult.success(count);
    }
    return CommonResult.failed();
}
 
Example #2
Source File: OmsOrderSettingController.java    From mall with Apache License 2.0 5 votes vote down vote up
@ApiOperation("获取指定订单设置")
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
@ResponseBody
public CommonResult<OmsOrderSetting> getItem(@PathVariable Long id) {
    OmsOrderSetting orderSetting = orderSettingService.getItem(id);
    return CommonResult.success(orderSetting);
}
 
Example #3
Source File: OmsOrderSettingController.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@ApiOperation("修改指定订单设置")
@RequestMapping(value = "/update/{id}", method = RequestMethod.POST)
@ResponseBody
public Object update(@PathVariable Long id, @RequestBody OmsOrderSetting orderSetting) {
    int count = orderSettingService.update(id,orderSetting);
    if(count>0){
        return new CommonResult().success(count);
    }
    return new CommonResult().failed();
}
 
Example #4
Source File: OmsOrderSettingController.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@ApiOperation("获取指定订单设置")
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
@ResponseBody
public Object getItem(@PathVariable Long id) {
    OmsOrderSetting orderSetting = orderSettingService.getItem(id);
    return new CommonResult().success(orderSetting);
}
 
Example #5
Source File: OmsOrderSettingController.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@ApiOperation("修改指定订单设置")
@RequestMapping(value = "/update/{id}", method = RequestMethod.POST)
@ResponseBody
public CommonResult update(@PathVariable Long id, @RequestBody OmsOrderSetting orderSetting) {
    int count = orderSettingService.update(id,orderSetting);
    if(count>0){
        return CommonResult.success(count);
    }
    return CommonResult.failed();
}
 
Example #6
Source File: OmsOrderSettingController.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@ApiOperation("获取指定订单设置")
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
@ResponseBody
public CommonResult<OmsOrderSetting> getItem(@PathVariable Long id) {
    OmsOrderSetting orderSetting = orderSettingService.getItem(id);
    return CommonResult.success(orderSetting);
}
 
Example #7
Source File: OmsOrderSettingController.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@ApiOperation("修改指定订单设置")
@RequestMapping(value = "/update/{id}", method = RequestMethod.POST)
@ResponseBody
public CommonResult update(@PathVariable Long id, @RequestBody OmsOrderSetting orderSetting) {
    int count = orderSettingService.update(id,orderSetting);
    if(count>0){
        return CommonResult.success(count);
    }
    return CommonResult.failed();
}
 
Example #8
Source File: OmsOrderSettingController.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@ApiOperation("获取指定订单设置")
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
@ResponseBody
public CommonResult<OmsOrderSetting> getItem(@PathVariable Long id) {
    OmsOrderSetting orderSetting = orderSettingService.getItem(id);
    return CommonResult.success(orderSetting);
}
 
Example #9
Source File: OmsOrderSettingServiceImpl.java    From macrozheng with Apache License 2.0 4 votes vote down vote up
@Override
public int update(Long id, OmsOrderSetting orderSetting) {
    orderSetting.setId(id);
    return orderSettingMapper.updateByPrimaryKey(orderSetting);
}
 
Example #10
Source File: OmsOrderSettingServiceImpl.java    From mall with Apache License 2.0 4 votes vote down vote up
@Override
public int update(Long id, OmsOrderSetting orderSetting) {
    orderSetting.setId(id);
    return orderSettingMapper.updateByPrimaryKey(orderSetting);
}
 
Example #11
Source File: OmsOrderSettingServiceImpl.java    From mall with Apache License 2.0 4 votes vote down vote up
@Override
public OmsOrderSetting getItem(Long id) {
    return orderSettingMapper.selectByPrimaryKey(id);
}
 
Example #12
Source File: OmsOrderSettingServiceImpl.java    From mall-swarm with Apache License 2.0 4 votes vote down vote up
@Override
public int update(Long id, OmsOrderSetting orderSetting) {
    orderSetting.setId(id);
    return orderSettingMapper.updateByPrimaryKey(orderSetting);
}
 
Example #13
Source File: OmsOrderSettingServiceImpl.java    From mall-swarm with Apache License 2.0 4 votes vote down vote up
@Override
public OmsOrderSetting getItem(Long id) {
    return orderSettingMapper.selectByPrimaryKey(id);
}
 
Example #14
Source File: OmsOrderSettingServiceImpl.java    From macrozheng-mall with MIT License 4 votes vote down vote up
@Override
public OmsOrderSetting getItem(Long id) {
    return orderSettingMapper.selectByPrimaryKey(id);
}
 
Example #15
Source File: OmsOrderSettingServiceImpl.java    From macrozheng-mall with MIT License 4 votes vote down vote up
@Override
public int update(Long id, OmsOrderSetting orderSetting) {
    orderSetting.setId(id);
    return orderSettingMapper.updateByPrimaryKey(orderSetting);
}
 
Example #16
Source File: OmsOrderSettingServiceImpl.java    From macrozheng with Apache License 2.0 4 votes vote down vote up
@Override
public OmsOrderSetting getItem(Long id) {
    return orderSettingMapper.selectByPrimaryKey(id);
}
 
Example #17
Source File: OmsOrderSettingService.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 修改指定订单设置
 */
int update(Long id, OmsOrderSetting orderSetting);
 
Example #18
Source File: OmsOrderSettingService.java    From mall-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * 修改指定订单设置
 */
int update(Long id, OmsOrderSetting orderSetting);
 
Example #19
Source File: OmsOrderSettingService.java    From macrozheng with Apache License 2.0 2 votes vote down vote up
/**
 * 获取指定订单设置
 */
OmsOrderSetting getItem(Long id);
 
Example #20
Source File: OmsOrderSettingService.java    From macrozheng with Apache License 2.0 2 votes vote down vote up
/**
 * 修改指定订单设置
 */
int update(Long id, OmsOrderSetting orderSetting);
 
Example #21
Source File: OmsOrderSettingService.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 获取指定订单设置
 */
OmsOrderSetting getItem(Long id);
 
Example #22
Source File: OmsOrderSettingService.java    From mall-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * 获取指定订单设置
 */
OmsOrderSetting getItem(Long id);
 
Example #23
Source File: OmsOrderSettingService.java    From macrozheng-mall with MIT License 2 votes vote down vote up
/**
 * 获取指定订单设置
 */
OmsOrderSetting getItem(Long id);
 
Example #24
Source File: OmsOrderSettingService.java    From macrozheng-mall with MIT License 2 votes vote down vote up
/**
 * 修改指定订单设置
 */
int update(Long id, OmsOrderSetting orderSetting);
 
Example #25
Source File: OmsOrderSettingMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByPrimaryKey(OmsOrderSetting record); 
Example #26
Source File: OmsOrderSettingMapper.java    From mall with Apache License 2.0 votes vote down vote up
int insert(OmsOrderSetting record); 
Example #27
Source File: OmsOrderSettingMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int insert(OmsOrderSetting record); 
Example #28
Source File: OmsOrderSettingMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int insertSelective(OmsOrderSetting record); 
Example #29
Source File: OmsOrderSettingMapper.java    From macrozheng-mall with MIT License votes vote down vote up
List<OmsOrderSetting> selectByExample(OmsOrderSettingExample example); 
Example #30
Source File: OmsOrderSettingMapper.java    From macrozheng-mall with MIT License votes vote down vote up
OmsOrderSetting selectByPrimaryKey(Long id);