|
@@ -162,7 +162,7 @@ public interface UpIdCollectionDao {
|
|
|
" (select top(1) rtrim(name) from a_employee_mi where code = mzys) as anst_dr_name, " +
|
|
|
" rtrim(mzys) as anst_dr_code " +
|
|
|
" from ${tableName} " +
|
|
|
- "where zyh = #{patNo} and zycs = #{times}")
|
|
|
+ "where zyh = #{patNo} and zycs = #{times} and isnull(ssbm,'-') <> '-' ")
|
|
|
List<OprninfoUpld> oprninfoUplds(@Param("patNo") String patNo,
|
|
|
@Param("times") Integer times,
|
|
|
@Param("tableName") String tableName);
|
|
@@ -410,7 +410,7 @@ public interface UpIdCollectionDao {
|
|
|
" mzys_name = (select top(1) rtrim(name) from a_employee_mi where code = mzys)," +
|
|
|
" bah, zyh, zycs, ssxh, ssrq, sstj, ssys, sszs1, sszs2, mzys, ssbm, ssmc, rtrim(mzff) mzff, rtrim(qkjb) qkjb," +
|
|
|
"rtrim(yhqk) yhqk, ssbfz, fhqk, ssjb, cut_heal" +
|
|
|
- " from ${tableName} where zyh = #{patNo} and zycs = #{times} ")
|
|
|
+ " from ${tableName} where zyh = #{patNo} and zycs = #{times} and isnull(ssbm,'-') <> '-'")
|
|
|
List<BatjBa4> shouShuXinXi(@Param("patNo") String patNo,
|
|
|
@Param("times") Integer times,
|
|
|
@Param("tableName") String tableName);
|