<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.lyms.platform.permission.dao.master.MasterMysqlAntexcMapper">
<insert id="saveMysqlAntexc" parameterType="com.lyms.platform.permission.model.MysqlAntexc">
INSERT INTO c_antexc(
cid,
pid,
patientId,
checkTime,
nextCheckTime,
yn,
cDueWeek,
sieveStatus,
checkDoctor,
hospital,
pastHistory,
familyHistory,
personalHistory,
ymjzHistory,
ywgmHistory,
fksxHistory,
ysfyHistory,
cestationInfo,
pregnancyTimes,
prodTime,
delivery,
yinchan,
gongwaiyun,
planedProd,
abortion,
stillbirth,
stillChan,
neoDeath,
neoDeathTodo,
birthDefect,
birthDefectTodo,
height,
weight,
yqWeight,
ssy,
szy,
heart,
lungs,
gonggao,
fuwei,
edema,
quicken,
quickenRemark,
secondaryDiagnosisId,
diagnosis,
treatOpinion,
dirOpinion,
xhdb,
bxbjs,
platelet,
chgOther,
ndb,
nt,
urineKetone,
bld,
ncgOther,
abo,
rh,
bloodSugar,
xqgbzam,
xqgczam,
albumin,
totalBilirubin,
jhBilirubin,
bg,
ygbmky,
ygbmkt,
ygeky,
ygekt,
yghxkt,
ygbmkyValue,
ygbmktValue,
ygekyValue,
ygektValue,
yghxktValue,
xqjq,
xnsd,
syjg,
syjgSelect,
syjgValue,
hivkt,
hivktSelect,
hivktValue,
ydfmw,
ydqjd,
bChao,
created,
modified,
highriskDesc,
screenResult,
resultSupple,
vulva,
vagina,
cervical,
uterus,
fujian,
couponCode,
ft3,
ft4,
tsh,
tpaAb,
taAb,
atshr,
highRisk,
score
) VALUES (
#{cid},
#{pid},
#{patientId},
#{checkTime},
#{nextCheckTime},
#{yn},
#{cDueWeek},
#{sieveStatus},
#{checkDoctor},
#{hospital},
#{pastHistory},
#{familyHistory},
#{personalHistory},
#{ymjzHistory},
#{ywgmHistory},
#{fksxHistory},
#{ysfyHistory},
#{cestationInfo},
#{pregnancyTimes},
#{prodTime},
#{delivery},
#{yinchan},
#{gongwaiyun},
#{planedProd},
#{abortion},
#{stillbirth},
#{stillChan},
#{neoDeath},
#{neoDeathTodo},
#{birthDefect},
#{birthDefectTodo},
#{height},
#{weight},
#{yqWeight},
#{ssy},
#{szy},
#{heart},
#{lungs},
#{gonggao},
#{fuwei},
#{edema},
#{quicken},
#{quickenRemark},
#{secondaryDiagnosisId},
#{diagnosis},
#{treatOpinion},
#{dirOpinion},
#{xhdb},
#{bxbjs},
#{platelet},
#{chgOther},
#{ndb},
#{nt},
#{urineKetone},
#{bld},
#{ncgOther},
#{abo},
#{rh},
#{bloodSugar},
#{xqgbzam},
#{xqgczam},
#{albumin},
#{totalBilirubin},
#{jhBilirubin},
#{bg},
#{ygbmky},
#{ygbmkt},
#{ygeky},
#{ygekt},
#{yghxkt},
#{ygbmkyValue},
#{ygbmktValue},
#{ygekyValue},
#{ygektValue},
#{yghxktValue},
#{xqjq},
#{xnsd},
#{syjg},
#{syjgSelect},
#{syjgValue},
#{hivkt},
#{hivktSelect},
#{hivktValue},
#{ydfmw},
#{ydqjd},
#{bChao},
#{created},
#{modified},
#{highriskDesc},
#{screenResult},
#{resultSupple},
#{vulva},
#{vagina},
#{cervical},
#{uterus},
#{fujian},
#{couponCode},
#{ft3},
#{ft4},
#{tsh},
#{tpaAb},
#{taAb},
#{atshr},
#{highRisk},
#{score}
)
</insert>
<insert id="saveMysqlAntex" parameterType="com.lyms.platform.permission.model.MysqlAntex">
INSERT INTO c_antex(
pid,
patientId,
cid,
checkTime,
nextCheckTime,
yn,
cDueWeek,
sieveStatus,
checkDoctor,
hospital,
chiefComplaint,
weight,
ssy,
szy,
gonggao,
fuwei,
edema,
tireNumber,
quicken,
quickenRemark,
xhdb,
bxbjs,
platelet,
chgOther,
ndb,
nt,
urineKetone,
bld,
ncgOther,
abo,
rh,
bloodSugar,
bloodSugar2,
bloodSugar3,
bloodSugar4,
ttita,
totalThy,
ftita,
freeThy,
thyStim,
antGlan,
tmab,
thyPerAnt,
xqgbzam,
xqgczam,
albumin,
totalBilirubin,
jhBilirubin,
ygbmky,
ygbmkt,
ygeky,
ygekt,
yghxkt,
xqjq,
xnsd,
syjg,
hivkt,
diagnosis,
diagnosisOther,
secondaryDiagnosis,
secondaryDiagnosisId,
treatmentOpinion,
guide,
couponCode,
highRisk,
score,
bChao,
created,
modified,
highriskDesc,
screenResult,
resultSupple
)
VALUES
(
#{pid},
#{patientId},
#{cid},
#{checkTime},
#{nextCheckTime},
#{yn},
#{cDueWeek},
#{sieveStatus},
#{checkDoctor},
#{hospital},
#{chiefComplaint},
#{weight},
#{ssy},
#{szy},
#{gonggao},
#{fuwei},
#{edema},
#{tireNumber},
#{quicken},
#{quickenRemark},
#{xhdb},
#{bxbjs},
#{platelet},
#{chgOther},
#{ndb},
#{nt},
#{urineKetone},
#{bld},
#{ncgOther},
#{abo},
#{rh},
#{bloodSugar},
#{bloodSugar2},
#{bloodSugar3},
#{bloodSugar4},
#{ttita},
#{totalThy},
#{ftita},
#{freeThy},
#{thyStim},
#{antGlan},
#{tmab},
#{thyPerAnt},
#{xqgbzam},
#{xqgczam},
#{albumin},
#{totalBilirubin},
#{jhBilirubin},
#{ygbmky},
#{ygbmkt},
#{ygeky},
#{ygekt},
#{yghxkt},
#{xqjq},
#{xnsd},
#{syjg},
#{hivkt},
#{diagnosis},
#{diagnosisOther},
#{secondaryDiagnosis},
#{secondaryDiagnosisId},
#{treatmentOpinion},
#{guide},
#{couponCode},
#{highRisk},
#{score},
#{bChao},
#{created},
#{modified},
#{highriskDesc},
#{screenResult},
#{resultSupple}
)
</insert>
<delete id="deleteMysqlAntexc" parameterType="com.lyms.platform.permission.model.MysqlAntexc">
DELETE from c_antexc WHERE cid = #{cid}
</delete>
<delete id="deleteMysqlAntex" parameterType="com.lyms.platform.permission.model.MysqlAntex">
DELETE from c_antex WHERE cid = #{cid}
</delete>
<insert id="addTireData" parameterType="com.lyms.platform.permission.model.MysqlTireData">
INSERT INTO tiredata(
cid,
heartRate,
fetalPosition,
fetalPresentation,
vjoin
)VALUES (
#{cid},
#{heartRate},
#{fetalPosition},
#{fetalPresentation},
#{vjoin}
)
</insert>
<delete id="delTireData" parameterType="com.lyms.platform.permission.model.MysqlTireData">
DELETE from tiredata WHERE cid = #{cid}
</delete>
<insert id="addRisk" parameterType="com.lyms.platform.permission.model.MysqlRisk">
INSERT into risk
(
name,
color,
score,
cid,
rid
)
values
(
#{name},
#{color},
#{score},
#{cid},
#{rid}
)
</insert>
</mapper>