|
@ -206,10 +206,11 @@ public class DatacollectService implements IDatacollectService {
|
|
|
for(int i=0; i< dictAdapterList.length();i++)
|
|
|
{
|
|
|
JSONObject dictItem = dictAdapterList.getJSONObject(i);
|
|
|
if(oldValue.equals(dictItem.getString(colName)))
|
|
|
{
|
|
|
String newValue = dictItem.getString("stdEntryCode");
|
|
|
return newValue;
|
|
|
if(oldValue!=null && dictItem.has(colName)) {
|
|
|
if (oldValue.equals(dictItem.getString(colName))) {
|
|
|
String newValue = dictItem.getString("stdEntryCode");
|
|
|
return newValue;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|