|
@@ -3,6 +3,7 @@ package thyyxxk.webserver.dao.his.casefrontsheet;
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import org.apache.ibatis.annotations.*;
|
|
|
import thyyxxk.webserver.entity.casefrontsheet.*;
|
|
|
+import thyyxxk.webserver.entity.dictionary.PureCodeName;
|
|
|
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
@@ -480,8 +481,7 @@ public interface CaseFrontSheetDao extends BaseMapper<CaseFrontsheetMain> {
|
|
|
@Insert("insert into batj_ba4 (bah,zyh,zycs,ssxh,ssmc,ssrq,ssjb,ssbm,ssys,sszs1,sszs2,qkjb,yhqk," +
|
|
|
"mzff,mzys,op_start_date,op_end_date,anst_start_date,anst_end_date) " +
|
|
|
"values (#{bah},#{bah},#{times},#{no},#{name},#{date},#{level},#{code},#{operator},#{assistantOne}," +
|
|
|
- "#{assistantTwo},#{cut},#{heal},#{anaesthesia},#{anaesthesiaor},#{date},#{opEndDate}," +
|
|
|
- "#{anstStartDate},#{anstEndDate})")
|
|
|
+ "#{assistantTwo},#{cut},#{heal},#{anaesthesia},#{anaesthesiaor},#{date},#{opEndDate},#{anstStartDate},#{anstEndDate})")
|
|
|
void writeNewZySurgeryRecord(CaseFrontsheetSurgery surgery);
|
|
|
|
|
|
@Select("select status from t_frontsheet_sign_apply where bah=#{bah} and times=#{times} ")
|
|
@@ -645,4 +645,7 @@ public interface CaseFrontSheetDao extends BaseMapper<CaseFrontsheetMain> {
|
|
|
|
|
|
@Update("update t_case_frontsheet_main set age_days=#{agedays} where bah=#{bah} and admiss_times=#{times}")
|
|
|
void updateNewBornAge(@Param("bah") String bah, @Param("times") Integer times, @Param("agedays") Integer agedays);
|
|
|
+
|
|
|
+ @Select("select rtrim(yb_code) as code, rtrim(yb_name) as name from zd_icd_code_new where code=#{code}")
|
|
|
+ PureCodeName selectSiDiagByBaDiag(@Param("code") String code);
|
|
|
}
|