增加文字长度自动设置/栏目增加校验

This commit is contained in:
cuibaocheng 2021-09-03 15:33:43 +08:00
parent 3159a0b41a
commit 01ed6b9da1
2 changed files with 6 additions and 8 deletions

View File

@ -93,6 +93,7 @@ public class CardConfigColumnGroupAppController extends DefaultBaseController {
break; break;
case "2" : // 企业普通版 case "2" : // 企业普通版
// 查询公司表 , 判断是否为公司负责人 , 如果只是公司员工则不显示 // 查询公司表 , 判断是否为公司负责人 , 如果只是公司员工则不显示
params.put("configColumnRole", "2");
params.put("configColumnGroupRole", "2"); params.put("configColumnGroupRole", "2");
break; break;
case "3" : case "3" :

View File

@ -2,6 +2,7 @@ package cn.com.tenlion.systemcard.util;
import cn.com.tenlion.projectconfig.util.ProjectConfigUtil; import cn.com.tenlion.projectconfig.util.ProjectConfigUtil;
import ink.wgink.interfaces.consts.ISystemConstant; import ink.wgink.interfaces.consts.ISystemConstant;
import ink.wgink.util.verification.share.ShareCodeUtil;
import org.joda.time.DateTime; import org.joda.time.DateTime;
import org.joda.time.Days; import org.joda.time.Days;
import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormat;
@ -18,13 +19,9 @@ public class PayUtil {
} }
public static void main(String[] args) { public static void main(String[] args) {
String registerTime = "2021-08-31 08:09:09";
DateTime registerDateTime = DateTime.parse(registerTime, DateTimeFormat.forPattern(ISystemConstant.DATE_FORMATTER_YYYY_MM_DD_HH_MM_SS)); for(long i = 1 ; i < 13 ; i++) {
// DateTime withdrawDateTime = registerDateTime.plusDays(3); System.out.println( ShareCodeUtil.gen(i));
int lastDay = Days.daysBetween(registerDateTime , DateTime.now()).getDays(); }
System.out.println(lastDay);
if(lastDay > 0) {
// 可以提现
}
} }
} }