|
|
@@ -111,7 +111,7 @@ public class InventoryUCUtil {
|
|
|
|
|
|
//根据章节查询变更详情
|
|
|
public static List<ChangeInventoryForm> selectInventoryFormByInventoryNum(Long periodId, Long contractId, String k) {
|
|
|
- String sql="select * from s_change_inventory_form where contract_id="+contractId+" and period_id="+periodId+" and inventory_num='"+k+"' and is_deleted=0";
|
|
|
+ String sql="select * from s_change_inventory_form where contract_id="+contractId+" and period_id="+periodId+" and inventory_num like '%"+k+"%' and is_deleted=0";
|
|
|
return jdbcTemplate.query(sql,new BeanPropertyRowMapper<>(ChangeInventoryForm.class));
|
|
|
}
|
|
|
|