feat: h5页面-积分商城首页优化
This commit is contained in:
+2
@@ -12,6 +12,7 @@ import org.nutz.dao.Cnd;
|
||||
import org.nutz.dao.Dao;
|
||||
import org.nutz.ioc.loader.annotation.IocBean;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@IocBean(args = {"refer:dao"})
|
||||
@@ -46,6 +47,7 @@ public class PointsMallSupplierServiceImpl extends BaseServiceImpl<PointsMallSup
|
||||
@Override
|
||||
public List<PointsMallSupplier> listByMallType(Integer mallType) {
|
||||
Cnd cnd = Cnd.where("delFlag", "=", false);
|
||||
cnd.and(Cnd.exps("cooperationExpTime", "is", null).or("cooperationExpTime", ">=", new Date()));
|
||||
if (mallType != null) {
|
||||
cnd.and("mallType", "=", mallType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user