|
@@ -12,14 +12,25 @@ public interface SiInjuryDao {
|
|
|
@Param("times") int times,
|
|
|
@Param("ledgerSn") int ledgerSn);
|
|
|
|
|
|
- @Insert("insert into t_injury_si_pat_info (pat_no, times, ledger_sn, indi_id, center_id, pers_type) " +
|
|
|
- "values (#{patNo}, #{times}, #{ledgerSn}, #{indiId}, #{centerId}, #{persType})")
|
|
|
+ @Insert("insert into t_injury_si_pat_info (pat_no, times, ledger_sn, indi_id, center_id, pers_type, injury_area) " +
|
|
|
+ "values (#{patNo}, #{times}, #{ledgerSn}, #{indiId}, #{centerId}, #{persType}, #{injuryArea})")
|
|
|
void insertNewInjurybase(@Param("patNo") String patNo,
|
|
|
@Param("times") int times,
|
|
|
@Param("ledgerSn") int ledgerSn,
|
|
|
@Param("indiId") String indiId,
|
|
|
@Param("centerId") String centerId,
|
|
|
- @Param("persType") String persType);
|
|
|
+ @Param("persType") String persType,
|
|
|
+ @Param("injuryArea") int injuryArea);
|
|
|
+
|
|
|
+ @Update("update t_injury_si_pat_info set indi_id=#{indiId},center_id=#{centerId},pers_type=#{persType}," +
|
|
|
+ "injury_area=#{injuryArea} where pat_no=#{patNo} and times=#{times} and ledger_sn=#{ledgerSn}")
|
|
|
+ void updateInjurybase(@Param("patNo") String patNo,
|
|
|
+ @Param("times") int times,
|
|
|
+ @Param("ledgerSn") int ledgerSn,
|
|
|
+ @Param("indiId") String indiId,
|
|
|
+ @Param("centerId") String centerId,
|
|
|
+ @Param("persType") String persType,
|
|
|
+ @Param("injuryArea") int injuryArea);
|
|
|
|
|
|
@Update("update t_injury_si_pat_info set serial_pers=#{serialPers},medic_flag=#{medicFlag}, " +
|
|
|
"identify_code=#{identifyCode},injury_cert=#{injuryCert},identify_flag=#{identifyFlag}, " +
|