|
|
@@ -32,6 +32,7 @@ public class TakeStockService extends GenericProvider {
|
|
|
String sql = "SELECT *from v_reagentinventory WHERE withhold=0 ORDER BY ming_cheng_";
|
|
|
if(BeanUtils.isNotEmpty(ckId)){
|
|
|
sql = "SELECT *from v_reagentinventory where withhold=0 and position in('%s') ORDER BY ming_cheng_";
|
|
|
+ sql = String.format(sql, ckId);
|
|
|
}
|
|
|
List<Map<String,Object>> list = commonDao.query(sql);
|
|
|
if(Collections.isEmpty(list)){
|