Commit f5ccada9 authored by neo's avatar neo

[bugfix] use error symbol for where value

parent e1982a52
......@@ -701,13 +701,13 @@ public class VoucherServiceImpl extends VatAbstractService implements VoucherSer
switch (relation) {
case S_EqualAnyKey:
for (int i = 0; i < count; i++) {
sb.append(columnName + "=`" + strList.get(i) + "`" + (i < (count - 1) ? " or " : ")"));
sb.append(columnName + "='" + strList.get(i) + "'" + (i < (count - 1) ? " or " : ")"));
}
temp.setSort(VoucherLevelEnum.FirstSort.getCode());
break;
case S_AnyHeaderKey:
for (int i = 0; i < count; i++) {
sb.append(columnName + "=`" + strList.get(i) + "`" + (i < (count - 1) ? " or " : ")"));
sb.append(columnName + "='" + strList.get(i) + "'" + (i < (count - 1) ? " or " : ")"));
}
temp.setSort(VoucherLevelEnum.SecondSort.getCode());
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment