|
|
@@ -2322,12 +2322,11 @@ public class ObjectToDocumentUtils {
|
|
|
JSON.toJSONString(vendorSimpleInfo.getVend()), Store.YES));
|
|
|
}
|
|
|
if (null != vendorSimpleInfo.getMyUser()) {
|
|
|
- document.add(new StringField(ClassAndTableNameUtils.combineField(tableName, VendorSimpleInfo.MYUSER_FIELD),
|
|
|
+ document.add(new TextField(ClassAndTableNameUtils.combineField(tableName, VendorSimpleInfo.MYUSER_FIELD),
|
|
|
JSON.toJSONString(vendorSimpleInfo.getMyUser()), Store.YES));
|
|
|
}
|
|
|
if (null != vendorSimpleInfo.getVendUser()) {
|
|
|
- document.add(
|
|
|
- new StringField(ClassAndTableNameUtils.combineField(tableName, VendorSimpleInfo.VENDUSER_FIELD),
|
|
|
+ document.add(new TextField(ClassAndTableNameUtils.combineField(tableName, VendorSimpleInfo.VENDUSER_FIELD),
|
|
|
JSON.toJSONString(vendorSimpleInfo.getVendUser()), Store.YES));
|
|
|
}
|
|
|
if (null != vendorSimpleInfo.getCustswitch()) {
|
|
|
@@ -2378,12 +2377,11 @@ public class ObjectToDocumentUtils {
|
|
|
JSON.toJSONString(custmerSimpleInfo.getVend()), Store.YES));
|
|
|
}
|
|
|
if (null != custmerSimpleInfo.getMyUser()) {
|
|
|
- document.add(new StringField(ClassAndTableNameUtils.combineField(tableName, CustmerSimpleInfo.MYUSER_FIELD),
|
|
|
+ document.add(new TextField(ClassAndTableNameUtils.combineField(tableName, CustmerSimpleInfo.MYUSER_FIELD),
|
|
|
JSON.toJSONString(custmerSimpleInfo.getMyUser()), Store.YES));
|
|
|
}
|
|
|
if (null != custmerSimpleInfo.getVendUser()) {
|
|
|
- document.add(
|
|
|
- new StringField(ClassAndTableNameUtils.combineField(tableName, CustmerSimpleInfo.VENDUSER_FIELD),
|
|
|
+ document.add(new TextField(ClassAndTableNameUtils.combineField(tableName, CustmerSimpleInfo.VENDUSER_FIELD),
|
|
|
JSON.toJSONString(custmerSimpleInfo.getVendUser()), Store.YES));
|
|
|
}
|
|
|
if (null != custmerSimpleInfo.getCustswitch()) {
|