| | |
| | | final String name = m.group(1).toLowerCase();
|
| | | if (allowed(name))
|
| | | {
|
| | | if (false == inArray(name, vSelfClosingTags))
|
| | | if (!inArray(name, vSelfClosingTags))
|
| | | {
|
| | | if (vTagCounts.containsKey(name))
|
| | | {
|
| | |
| | | final StringBuilder builder = new StringBuilder(isSimple ? 32 : 36);
|
| | | // time_low
|
| | | builder.append(digits(mostSigBits >> 32, 8));
|
| | | if (false == isSimple)
|
| | | if (!isSimple)
|
| | | {
|
| | | builder.append('-');
|
| | | }
|
| | | // time_mid
|
| | | builder.append(digits(mostSigBits >> 16, 4));
|
| | | if (false == isSimple)
|
| | | if (!isSimple)
|
| | | {
|
| | | builder.append('-');
|
| | | }
|
| | | // time_high_and_version
|
| | | builder.append(digits(mostSigBits, 4));
|
| | | if (false == isSimple)
|
| | | if (!isSimple)
|
| | | {
|
| | | builder.append('-');
|
| | | }
|
| | | // variant_and_sequence
|
| | | builder.append(digits(leastSigBits >> 48, 4));
|
| | | if (false == isSimple)
|
| | | if (!isSimple)
|
| | | {
|
| | | builder.append('-');
|
| | | }
|
| | |
| | | public boolean hasChildByDeptId(Long deptId)
|
| | | {
|
| | | int result = deptMapper.hasChildByDeptId(deptId);
|
| | | return result > 0 ? true : false;
|
| | | return result > 0;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | public boolean checkDeptExistUser(Long deptId)
|
| | | {
|
| | | int result = deptMapper.checkDeptExistUser(deptId);
|
| | | return result > 0 ? true : false;
|
| | | return result > 0;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | */
|
| | | private boolean hasChild(List<SysDept> list, SysDept t)
|
| | | {
|
| | | return getChildList(list, t).size() > 0 ? true : false;
|
| | | return getChildList(list, t).size() > 0;
|
| | | }
|
| | | }
|