|
|
@@ -138,10 +138,6 @@ public interface SiMzDao {
|
|
|
"#{diseDorNo}, #{diseDorName}, #{diagTime}, #{valiFlag}, #{realOpter})")
|
|
|
void insertNewMzDiag(SiMzDiag diag);
|
|
|
|
|
|
- @Select("select count(1) from t_si_pat_info where pat_no=#{patNo} and times=#{times} ")
|
|
|
- int selectSiMzInfoCount(@Param("patNo") String patNo,
|
|
|
- @Param("times") int times);
|
|
|
-
|
|
|
@Update("update t_si_pat_info set insutype=#{insutype},balc=#{balc},insuplc_admdvs=#{admdvs} " +
|
|
|
"where pat_no=#{patNo} and times=#{times}")
|
|
|
void updateSiZyInfoPsnNo(@Param("patNo") String patNo,
|
|
|
@@ -150,6 +146,10 @@ public interface SiMzDao {
|
|
|
@Param("balc") String balc,
|
|
|
@Param("admdvs") String admdvs);
|
|
|
|
|
|
+ @Select("select count(1) from t_si_pat_info where pat_no=#{patNo} and times=#{times} ")
|
|
|
+ int selectSiMzInfoCount(@Param("patNo") String patNo,
|
|
|
+ @Param("times") int times);
|
|
|
+
|
|
|
@Select("select top 1 * from t_si_pat_info where pat_no=#{patNo} order by times desc")
|
|
|
PsnBaseInfo selectLatestPsnInfo(@Param("patNo") String patNo);
|
|
|
|