hzp пре 9 година
родитељ
комит
2b5c1df1fc

+ 5 - 4
Hos-resource/src/main/java/com/yihu/ehr/datacollect/service/DatacollectService.java

@ -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;
                }
            }
        }