|
@@ -236,8 +236,8 @@ public class WbsFormElementServiceImpl extends BaseServiceImpl<WbsFormElementMap
|
|
|
return wbsFormElement;
|
|
|
}
|
|
|
} else if ("datetime".equals(fieldType)) {
|
|
|
- if (wbsFormElement.getELength() > 50 || wbsFormElement.getELength() < 0) {
|
|
|
- throw new ServiceException("请输入正确的长度,范围为0-50");
|
|
|
+ if (wbsFormElement.getELength() > 100 || wbsFormElement.getELength() < 0) {
|
|
|
+ throw new ServiceException("请输入正确的长度,范围为0-100");
|
|
|
} else {
|
|
|
//新增
|
|
|
baseMapper.insert(wbsFormElement);
|