|
@@ -32,9 +32,9 @@ public interface PatientCardsDao {
|
|
|
Integer validBindCount(@Param("openId") String openId);
|
|
|
|
|
|
@Insert("insert into t_wechat_patient_bind (name, patient_id, social_no, phone, province, " +
|
|
|
- "city, district, street, open_id, del_flag, is_default, ic_card_no) " +
|
|
|
+ "city, district, street, open_id, del_flag, is_default, ic_card_no, guard_name,guard_id_no) " +
|
|
|
"values (#{name}, #{patientId}, #{socialNo}, #{phone}, #{province}, #{city}, " +
|
|
|
- "#{district}, #{street}, #{openId}, 0, #{isDefault}, #{icCardNo})")
|
|
|
+ "#{district}, #{street}, #{openId}, 0, #{isDefault}, #{icCardNo}, #{guardName}, #{guardIdNo})")
|
|
|
void bindPatientCard(BindPatientIdParam param);
|
|
|
|
|
|
@Select("update t_wechat_patient_bind set is_default=#{isDefault} where " +
|