com.macro.mall.portal.domain.OmsOrderReturnApplyParam Java Examples

The following examples show how to use com.macro.mall.portal.domain.OmsOrderReturnApplyParam. 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: OmsPortalOrderReturnApplyController.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@ApiOperation("申请退货")
@RequestMapping(value = "/create", method = RequestMethod.POST)
@ResponseBody
public CommonResult create(@RequestBody OmsOrderReturnApplyParam returnApply) {
    int count = returnApplyService.create(returnApply);
    if (count > 0) {
        return CommonResult.success(count);
    }
    return CommonResult.failed();
}
 
Example #2
Source File: OmsPortalOrderReturnApplyServiceImpl.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@Override
public int create(OmsOrderReturnApplyParam returnApply) {
    OmsOrderReturnApply realApply = new OmsOrderReturnApply();
    BeanUtils.copyProperties(returnApply,realApply);
    realApply.setCreateTime(new Date());
    realApply.setStatus(0);
    return returnApplyMapper.insert(realApply);
}
 
Example #3
Source File: OmsPortalOrderReturnApplyController.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@ApiOperation("申请退货")
@RequestMapping(value = "/create", method = RequestMethod.POST)
@ResponseBody
public CommonResult create(@RequestBody OmsOrderReturnApplyParam returnApply) {
    int count = returnApplyService.create(returnApply);
    if (count > 0) {
        return CommonResult.success(count);
    }
    return CommonResult.failed();
}
 
Example #4
Source File: OmsPortalOrderReturnApplyServiceImpl.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@Override
public int create(OmsOrderReturnApplyParam returnApply) {
    OmsOrderReturnApply realApply = new OmsOrderReturnApply();
    BeanUtils.copyProperties(returnApply,realApply);
    realApply.setCreateTime(new Date());
    realApply.setStatus(0);
    return returnApplyMapper.insert(realApply);
}
 
Example #5
Source File: OmsPortalOrderReturnApplyController.java    From mall with Apache License 2.0 5 votes vote down vote up
@ApiOperation("申请退货")
@RequestMapping(value = "/create", method = RequestMethod.POST)
@ResponseBody
public CommonResult create(@RequestBody OmsOrderReturnApplyParam returnApply) {
    int count = returnApplyService.create(returnApply);
    if (count > 0) {
        return CommonResult.success(count);
    }
    return CommonResult.failed();
}
 
Example #6
Source File: OmsPortalOrderReturnApplyServiceImpl.java    From mall with Apache License 2.0 5 votes vote down vote up
@Override
public int create(OmsOrderReturnApplyParam returnApply) {
    OmsOrderReturnApply realApply = new OmsOrderReturnApply();
    BeanUtils.copyProperties(returnApply,realApply);
    realApply.setCreateTime(new Date());
    realApply.setStatus(0);
    return returnApplyMapper.insert(realApply);
}
 
Example #7
Source File: OmsPortalOrderReturnApplyController.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@ApiOperation("申请退货")
@RequestMapping(value = "/create", method = RequestMethod.POST)
@ResponseBody
public Object create(@RequestBody OmsOrderReturnApplyParam returnApply) {
    int count = returnApplyService.create(returnApply);
    if (count > 0) {
        return new CommonResult().success(count);
    }
    return new CommonResult().failed();
}
 
Example #8
Source File: OmsPortalOrderReturnApplyServiceImpl.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@Override
public int create(OmsOrderReturnApplyParam returnApply) {
    OmsOrderReturnApply realApply = new OmsOrderReturnApply();
    BeanUtils.copyProperties(returnApply,realApply);
    realApply.setCreateTime(new Date());
    realApply.setStatus(0);
    return returnApplyMapper.insert(realApply);
}
 
Example #9
Source File: OmsPortalOrderReturnApplyService.java    From mall-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * 提交申请
 */
int create(OmsOrderReturnApplyParam returnApply);
 
Example #10
Source File: OmsPortalOrderReturnApplyService.java    From macrozheng with Apache License 2.0 2 votes vote down vote up
/**
 * 提交申请
 */
int create(OmsOrderReturnApplyParam returnApply);
 
Example #11
Source File: OmsPortalOrderReturnApplyService.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 提交申请
 */
int create(OmsOrderReturnApplyParam returnApply);
 
Example #12
Source File: OmsPortalOrderReturnApplyService.java    From macrozheng-mall with MIT License 2 votes vote down vote up
/**
 * 提交申请
 */
int create(OmsOrderReturnApplyParam returnApply);