次卡适用人群

This commit is contained in:
曹磊 2024-06-26 16:16:26 +08:00
parent 7a9c5667a5
commit 3cffc27064
2 changed files with 3 additions and 2 deletions

View File

@ -359,7 +359,7 @@ public class UserPackageOrderServiceImpl extends ServiceImpl<UserPackageOrderDao
/**
* 每5分钟自动扫描未支付订单进行取消释放代金券
*/
// @Scheduled(cron = "0 0/5 * * * ?")
@Scheduled(cron = "0 0/5 * * * ?")
public void autoCancelOrders() {
String value1 = commonInfoService.findOne(388).getValue();
List<UserPackageOrder> ordersList = baseMapper.selectOrdersStatusByTime(value1);

View File

@ -18,7 +18,8 @@
b.duration,
b.status,
b.classify_id as type,
b.jianjie
b.jianjie,
b.apply_people
from bl_massage_package_detail a inner join massage_type b on a.massage_type_id = b.massage_type_id
where a.main_id = #{params.mainId}
<if test="params.status!=null and params.status!=0">