This commit is contained in:
Paidax
2024-12-26 13:48:24 +08:00
parent d6c4f48afc
commit a45b3d638a
5 changed files with 145 additions and 77 deletions
@@ -78,9 +78,9 @@ public class WelfareUserChooseController {
Cnd cnd = Cnd.NEW();
cnd.and("wp.provideMode", "in", "2,3");
cnd.and("wl.userId", "=", ShiroUtil.getUserId());
cnd.andEX("YEAR(wp.choiceTimeStart)", "in", year);
cnd.and("wp.isDisabled", "=", 0);
cnd.and("wp.id","!=","fe1d51dafc104a1482cc946d05312e78");
cnd.groupBy("wp.id");
cnd.desc("YEAR(wp.choiceTimeStart)");
sql.setCondition(cnd);