|
|
@@ -57,10 +57,10 @@ public class WxCouponController extends BaseController { |
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)}) |
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)}) |
|
|
@SystemControllerLog(description = "券投放-列表") |
|
|
@SystemControllerLog(description = "券投放-列表") |
|
|
public ResultData list(@ModelAttribute WxCoupon wxCoupon, Integer pageNum, Integer pageSize,Integer type) { |
|
|
|
|
|
|
|
|
public ResultData list(@ModelAttribute WxCoupon wxCoupon, Integer pageNum, Integer pageSize,Integer dataType) { |
|
|
logger.debug("[" + getIpAddr() + "] WxCouponController::list"); |
|
|
logger.debug("[" + getIpAddr() + "] WxCouponController::list"); |
|
|
if (wxCoupon == null) wxCoupon = new WxCoupon(); |
|
|
if (wxCoupon == null) wxCoupon = new WxCoupon(); |
|
|
if(null != null && type == 1){ |
|
|
|
|
|
|
|
|
if(null != dataType && dataType == 1){ |
|
|
wxCoupon.updateTenantInfo(ifParentUpdateTenantInfo()); |
|
|
wxCoupon.updateTenantInfo(ifParentUpdateTenantInfo()); |
|
|
}else{ |
|
|
}else{ |
|
|
wxCoupon.updateTenantInfo(getTenantInfo()); |
|
|
wxCoupon.updateTenantInfo(getTenantInfo()); |
|
|
|