|
@@ -64,13 +64,6 @@ public class WorkProvider {
|
|
|
if (ArrayUtil.isNotEmpty(nums)) {
|
|
|
sql.append(" and ( num in ('").append(StringUtils.join(nums, "','")).append("') )");
|
|
|
}
|
|
|
- List<String> snCodes = param.getSnCodes();
|
|
|
- if (ArrayUtil.isNotEmpty(snCodes)){
|
|
|
-// sql.append(" and ( sn_code in (").append(StringUtils.join(snCodes, ",")).append(") )");
|
|
|
- sql.append(" and ( sn_code in ('").append(StringUtils.join(snCodes, "','")).append("') )");
|
|
|
- }else {
|
|
|
- sql.append(" and status > 0 and location IS NULL");
|
|
|
- }
|
|
|
}else {
|
|
|
List<String> snCodes = param.getSnCodes();
|
|
|
if (ArrayUtil.isNotEmpty(snCodes)){
|