|
@@ -825,7 +825,7 @@ public interface YiZhuLuRuDao {
|
|
|
" cast(isnull(nullif(visible_flag_zy, ''), 0) as int) as visible_flag_zy," +
|
|
|
" deptRestrictions = (select count(1) from yp_zd_dept where code = yp_zd_dept.charge_code and dept_code = '${dept}') " +
|
|
|
" from yp_zd_dict a with (NOLOCK) " +
|
|
|
- " left join yp_base_yf b on ( code = b.charge_code and a.serial = b.serial) " +
|
|
|
+ " left join yp_base_yf b on (code = b.charge_code and a.serial = b.serial) " +
|
|
|
"where rtrim(code) + rtrim(a.serial) in " +
|
|
|
"<foreach collection='code' item='item' index='index' open='(' close=')' separator=','>" +
|
|
|
"#{item}" +
|