|
@@ -39,7 +39,7 @@ public interface ExecuteItemDao {
|
|
|
" isnull(yz_act_occ.dose, ''))) + rtrim( " +
|
|
|
" ltrim( " +
|
|
|
" isnull(yp_zd_unit.name, ''))), " +
|
|
|
- " yz_act_occ.order_name, " +
|
|
|
+ " yz_act_occ.order_name,b.self_buy, " +
|
|
|
" yz_act_occ.frequ_code, " +
|
|
|
" yz_act_occ.print_flag, " +
|
|
|
" yz_act_occ.dept_code, " +
|
|
@@ -106,7 +106,7 @@ public interface ExecuteItemDao {
|
|
|
" isnull(yz_act_occ.dose, ''))) + rtrim( " +
|
|
|
" ltrim( " +
|
|
|
" isnull(yz_act_occ.dose_unit, ''))), " +
|
|
|
- " yz_act_occ.order_name, " +
|
|
|
+ " yz_act_occ.order_name,b.self_buy, " +
|
|
|
" yz_act_occ.frequ_code, " +
|
|
|
" yz_act_occ.print_flag, " +
|
|
|
" yz_act_occ.dept_code, " +
|
|
@@ -174,7 +174,7 @@ public interface ExecuteItemDao {
|
|
|
" yz_act_occ.print_flag, " +
|
|
|
" yz_act_occ.dept_code, " +
|
|
|
" yz_act_occ.ward_code, " +
|
|
|
- " mini_unit = (select name from yp_zd_unit a where a.code =b.mini_unit), " +
|
|
|
+ " mini_unit = (select name from yp_zd_unit a where a.code =b.mini_unit),b.self_buy, " +
|
|
|
" zb = '' " +
|
|
|
" FROM " +
|
|
|
" yz_act_occ, " +
|
|
@@ -241,7 +241,7 @@ public interface ExecuteItemDao {
|
|
|
" when yz_act_occ.parent_no is not null" +
|
|
|
" then ' --' + yz_act_occ.order_name + '(' + yz_act_occ.specification + ')'" +
|
|
|
" else yz_act_occ.order_name + '(' + yz_act_occ.specification + ')' end," +
|
|
|
- " yz_act_occ.frequ_code," +
|
|
|
+ " yz_act_occ.frequ_code,b.self_buy," +
|
|
|
" yz_act_occ.print_flag," +
|
|
|
" yz_act_occ.dept_code," +
|
|
|
" yz_act_occ.ward_code," +
|
|
@@ -308,7 +308,7 @@ public interface ExecuteItemDao {
|
|
|
" when yz_act_occ.parent_no is not null" +
|
|
|
" then ' --' + yz_act_occ.order_name + '(' + yz_act_occ.specification + ')'" +
|
|
|
" else yz_act_occ.order_name + '(' + yz_act_occ.specification + ')' end," +
|
|
|
- " yz_act_occ.frequ_code," +
|
|
|
+ " yz_act_occ.frequ_code,b.self_buy," +
|
|
|
" yz_act_occ.print_flag," +
|
|
|
" yz_act_occ.dept_code," +
|
|
|
" yz_act_occ.ward_code," +
|