MyHelper调整
This commit is contained in:
parent
80cea4f91e
commit
3a38ee354c
|
|
@ -153,8 +153,7 @@ public class MyHelper {
|
||||||
DefdocVO[] defdocVOs = (DefdocVO[]) new HYSuperDMO().queryByWhereClause(DefdocVO.class, strWhere);
|
DefdocVO[] defdocVOs = (DefdocVO[]) new HYSuperDMO().queryByWhereClause(DefdocVO.class, strWhere);
|
||||||
if (defdocVOs != null) {
|
if (defdocVOs != null) {
|
||||||
for (DefdocVO defdocVO : defdocVOs) {
|
for (DefdocVO defdocVO : defdocVOs) {
|
||||||
String value = StringUtils.isEmpty(defdocVO.getMemo()) ? defdocVO.getName() : defdocVO.getMemo();
|
map.put(defdocVO.getCode().trim(), defdocVO.getName());
|
||||||
map.put(defdocVO.getCode().trim(), value);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (DAOException e) {
|
} catch (DAOException e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue