|
|
|
@@ -106,9 +106,12 @@ public class WxCouponController extends BaseController { |
|
|
|
|
|
|
|
private ResultData couponList(WxCoupon wxCoupon, Integer pageNum, Integer pageSize,Boolean isList) { |
|
|
|
//默认A端建券 |
|
|
|
if(null == wxCoupon.getSourceType()){ |
|
|
|
if(wxCoupon.getSourceType() == null){ |
|
|
|
wxCoupon.setSourceType(EnumCouponSourceType.COUPONSource_Admin.getCode()); |
|
|
|
}else if(wxCoupon.getSourceType() == -1){ |
|
|
|
wxCoupon.setSourceType(null); |
|
|
|
} |
|
|
|
|
|
|
|
//排序处理 |
|
|
|
if(StringUtils.isNotBlank(wxCoupon.getSortColumn())){ |
|
|
|
String coryColumn = "c."+wxCoupon.getSortColumns(); |
|
|
|
|