<?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="saveMysqlMatdeliver" parameterType="com.lyms.platform.permission.model.MysqlMatdeliver">
INSERT INTO matdeliver(
pid,
patientId,
matdeliverId,
deliveryDate,
fmHospital,
deliverDoctor,
gcdfDoctorId,
tireNumber,
placenta,
inHospitalNo,
deliveryMode,
operationCause,
one,
two,
three,
totalProcess,
perinealCondition,
siLielevel,
needleNum,
created,
modified,
yn,
maternalInfo,
deathCause,
ssy,
szy,
ssy2h,
szy2h,
breath,
pulse,
oHloseBloodL,
tHloseBloodL,
rHloseBloodL,
sHloseBloodL,
loseBloodCause,
ocs
)VALUES (
#{pid},
#{patientId},
#{matdeliverId},
#{deliveryDate},
#{fmHospital},
#{deliverDoctor},
#{gcdfDoctorId},
#{tireNumber},
#{placenta},
#{inHospitalNo},
#{deliveryMode},
#{operationCause},
#{one},
#{two},
#{three},
#{totalProcess},
#{perinealCondition},
#{siLielevel},
#{needleNum},
#{created},
#{modified},
#{yn},
#{maternalInfo},
#{deathCause},
#{ssy},
#{szy},
#{ssy2h},
#{szy2h},
#{breath},
#{pulse},
#{oHloseBloodL},
#{tHloseBloodL},
#{rHloseBloodL},
#{sHloseBloodL},
#{loseBloodCause},
#{ocs}
)
</insert>
<delete id="deleteMysqlMatdeliver" parameterType="com.lyms.platform.permission.model.MysqlMatdeliver">
DELETE from matdeliver WHERE matdeliverId = #{matdeliverId}
</delete>
<insert id="saveMysqlMatdeliverBaby" parameterType="com.lyms.platform.permission.model.MysqlMatdeliverBaby">
INSERT INTO matdeliver_baby(
matdeliverId,
dueTime,
pregnancyOut,
deformity,
jxxq,
babyGender,
babyWeight,
babyHeight,
babyHealthy,
apgarScore,
asphyxiaM,
contactStartM,
contactM,
earlySuck
)VALUES (
#{matdeliverId},
#{dueTime},
#{pregnancyOut},
#{deformity},
#{jxxq},
#{babyGender},
#{babyWeight},
#{babyHeight},
#{babyHealthy},
#{apgarScore},
#{asphyxiaM},
#{contactStartM},
#{contactM},
#{earlySuck}
)
</insert>
<delete id="deleteMysqlMatdeliverBaby" parameterType="com.lyms.platform.permission.model.MysqlMatdeliver">
DELETE from matdeliver_baby WHERE matdeliverId = #{matdeliverId}
</delete>
<insert id="saveMysqlMatdeliverPlacentas" parameterType="com.lyms.platform.permission.model.MysqlMatdeliverPlacentas">
INSERT INTO matdeliver_placentas(
matdeliverId,
tpmcType,
mcType,
tpSize,
tpWeight,
umbilicalCordLength,
umbilicalCordEx,
umbilicalCordExType
)VALUES (
#{matdeliverId},
#{tpmcType},
#{mcType},
#{tpSize},
#{tpWeight},
#{umbilicalCordLength},
#{umbilicalCordEx},
#{umbilicalCordExType}
)
</insert>
<delete id="deleteMysqlMatdeliverPlacentas" parameterType="com.lyms.platform.permission.model.MysqlMatdeliver">
DELETE from matdeliver_placentas WHERE matdeliverId = #{matdeliverId}
</delete>
<insert id="saveMysqlMatdeliverTire" parameterType="com.lyms.platform.permission.model.MysqlMatdeliverTire">
INSERT INTO matdeliver_tire(
matdeliverId,
heartRate,
fetalPosition,
fetalPresentation
)VALUES (
#{matdeliverId},
#{heartRate},
#{fetalPosition},
#{fetalPresentation}
)
</insert>
<delete id="deleteMysqlMatdeliverTire" parameterType="com.lyms.platform.permission.model.MysqlMatdeliver">
DELETE from matdeliver_tire WHERE matdeliverId = #{matdeliverId}
</delete>
<insert id="saveMysqlBaby" parameterType="com.lyms.platform.permission.model.MysqlBaby">
INSERT INTO lyms_baby(
babyId,
babyName,
sex,
babyBirthday,
homeAddress,
babyCardNo,
fileCode,
mommyName,
mommyCertificateType,
mommyCertificateNum,
mommyPhone,
mommyBirthday,
mommyLevel,
liveType,
mommyProfessionType,
fatherName,
fatherPhone,
fatherBirthday,
fatherLevel,
fatherProfessionType,
dueWeek,
dueType,
fetusCount,
babyWeight,
babyHeight,
babyHead,
deliverOrg,
malformation,
mommyHighRiskReason,
highRisk,
highRiskInfo,
weakSon,
weakSonInfo,
babyDiagnosis,
diagnose,
apgarScore,
esfs,
txng,
eljy,
kouq,
isBCG,
bCGVaccinDate,
bCGInjectUserName,
isHBV,
hbvVaccinDate,
bCGAndHBVVaccinationDosage,
hbvInjectUserName,
isHBIG,
hBIGInjectDate,
hBIGInjectDosage,
hBIGInjectUserName,
buildDoctor,
buildDate,
vcCardNo,
remark,
couponCode,
created,
modified
)VALUES (
#{babyId},
#{babyName},
#{sex},
#{babyBirthday},
#{homeAddress},
#{babyCardNo},
#{fileCode},
#{mommyName},
#{mommyCertificateType},
#{mommyCertificateNum},
#{mommyPhone},
#{mommyBirthday},
#{mommyLevel},
#{liveType},
#{mommyProfessionType},
#{fatherName},
#{fatherPhone},
#{fatherBirthday},
#{fatherLevel},
#{fatherProfessionType},
#{dueWeek},
#{dueType},
#{fetusCount},
#{babyWeight},
#{babyHeight},
#{babyHead},
#{deliverOrg},
#{malformation},
#{mommyHighRiskReason},
#{highRisk},
#{highRiskInfo},
#{weakSon},
#{weakSonInfo},
#{babyDiagnosis},
#{diagnose},
#{apgarScore},
#{esfs},
#{txng},
#{eljy},
#{kouq},
#{isBCG},
#{bCGVaccinDate},
#{bCGInjectUserName},
#{isHBV},
#{hbvVaccinDate},
#{bCGAndHBVVaccinationDosage},
#{hbvInjectUserName},
#{isHBIG},
#{hBIGInjectDate},
#{hBIGInjectDosage},
#{hBIGInjectUserName},
#{buildDoctor},
#{buildDate},
#{vcCardNo},
#{remark},
#{couponCode},
#{created},
#{modified}
)
</insert>
<delete id="deleteMysqlBaby" parameterType="com.lyms.platform.permission.model.MysqlBaby">
DELETE from lyms_baby WHERE babyId = #{babyId}
</delete>
<insert id="saveMysqlBabyCheck" parameterType="com.lyms.platform.permission.model.MysqlBabyCheck">
INSERT INTO lyms_babycheck(
checkId,
buildId,
checkDate,
checkDoctor,
checkMonthAge,
checkHospital,
nextCheckDate,
nextCheckMonthAge,
mainFoster,
feedType,
pee,
excrement,
sleep,
activity,
vitaminD,
assistFood,
homeMeasure,
morbidity,
drugGllergic,
temperature,
weight,
height,
head,
chestw,
heightWeight,
growthEvaluate,
weightEvaluate,
heightEvaluate,
headEvaluate,
bilirubin,
bregma,
bregmaValue,
tooth,
faceColor,
skin,
eye,
eyesight,
ear,
hearing,
neck,
chest,
belly,
spineFours,
portaGenitals,
stepStatus,
stoopStatus,
stoopSign,
nerve,
bonez,
hipJoint,
hemoglobin,
hCheckStatus,
whiteCell,
platelet,
otherBlood,
urineProtein,
urineSugar,
urineAcetone,
hematuria,
otherUrine,
checkDiagnose,
handlSuggest,
guideSuggest,
highRisk,
sportsEvaluation,
heartAction,
askOther,
babyCheckOther,
assistCheckOther,
navel,
couponCode,
cnqk,
mtcnNum,
fstj,
xbNum,
dbNum,
dbDayNum,
qdtlTime,
pfhrTime,
wssAd,
douhbqk,
kq,
cyNum,
qcNum,
btt,
xf,
xlClass,
xldq,
nd,
ygbmky,
ygbmkt,
ygeky,
ygekt,
yghxkt,
wlTong,
wlXin,
wlGai,
wlMei,
wlTie,
wlQian,
wlGe,
wlMeng,
ygbmkyNum,
ygbmktNum,
ygekyNum,
ygektNum,
yghxktNum,
xqgbzam,
xqgczam,
albumin,
totalBi,
jhBilir,
bcgYs,
bcgXz,
bcgHbx,
bcgBxb,
bcgSpxb,
bcgZlxb,
bcgDfkl,
bcgZfkl,
bcgJxw,
bcgZwxw,
bcgZbj,
bcgZj,
bcgJsc,
bcgYc,
bcgQw,
wssa,
jcwd,
wsse,
rzfx,
chatSc,
yyfyTest,
zlcp,
gdzsc,
ssfx,
gjzh,
rxnl,
xxbsc,
zlsc,
qtfz,
highRiskInfo,
weakSon,
weakSonInfo,
eyeAppearance,
eyeRedReflex,
eyeDioptroscopy,
eyeAdvice,
eyeAdviceName,
eyeGuideSuggestions,
abnormalSize,
okSize,
exerciseIA,
exerciseDQ,
movementIA,
movementDQ,
adaptationIA,
adaptationDQ,
languageIA,
languageDQ,
socialContactIA,
socialContactDQ,
nextCheckItem,
diseases,
zlcpType,
jcz,
tcType,
slscx
)VALUES (
#{checkId},
#{buildId},
#{checkDate},
#{checkDoctor},
#{checkMonthAge},
#{checkHospital},
#{nextCheckDate},
#{nextCheckMonthAge},
#{mainFoster},
#{feedType},
#{pee},
#{excrement},
#{sleep},
#{activity},
#{vitaminD},
#{assistFood},
#{homeMeasure},
#{morbidity},
#{drugGllergic},
#{temperature},
#{weight},
#{height},
#{head},
#{chestw},
#{heightWeight},
#{growthEvaluate},
#{weightEvaluate},
#{heightEvaluate},
#{headEvaluate},
#{bilirubin},
#{bregma},
#{bregmaValue},
#{tooth},
#{faceColor},
#{skin},
#{eye},
#{eyesight},
#{ear},
#{hearing},
#{neck},
#{chest},
#{belly},
#{spineFours},
#{portaGenitals},
#{stepStatus},
#{stoopStatus},
#{stoopSign},
#{nerve},
#{bonez},
#{hipJoint},
#{hemoglobin},
#{hCheckStatus},
#{whiteCell},
#{platelet},
#{otherBlood},
#{urineProtein},
#{urineSugar},
#{urineAcetone},
#{hematuria},
#{otherUrine},
#{checkDiagnose},
#{handlSuggest},
#{guideSuggest},
#{highRisk},
#{sportsEvaluation},
#{heartAction},
#{askOther},
#{babyCheckOther},
#{assistCheckOther},
#{navel},
#{couponCode},
#{cnqk},
#{mtcnNum},
#{fstj},
#{xbNum},
#{dbNum},
#{dbDayNum},
#{qdtlTime},
#{pfhrTime},
#{wssAd},
#{douhbqk},
#{kq},
#{cyNum},
#{qcNum},
#{btt},
#{xf},
#{xlClass},
#{xldq},
#{nd},
#{ygbmky},
#{ygbmkt},
#{ygeky},
#{ygekt},
#{yghxkt},
#{wlTong},
#{wlXin},
#{wlGai},
#{wlMei},
#{wlTie},
#{wlQian},
#{wlGe},
#{wlMeng},
#{ygbmkyNum},
#{ygbmktNum},
#{ygekyNum},
#{ygektNum},
#{yghxktNum},
#{xqgbzam},
#{xqgczam},
#{albumin},
#{totalBi},
#{jhBilir},
#{bcgYs},
#{bcgXz},
#{bcgHbx},
#{bcgBxb},
#{bcgSpxb},
#{bcgZlxb},
#{bcgDfkl},
#{bcgZfkl},
#{bcgJxw},
#{bcgZwxw},
#{bcgZbj},
#{bcgZj},
#{bcgJsc},
#{bcgYc},
#{bcgQw},
#{wssa},
#{jcwd},
#{wsse},
#{rzfx},
#{chatSc},
#{yyfyTest},
#{zlcp},
#{gdzsc},
#{ssfx},
#{gjzh},
#{rxnl},
#{xxbsc},
#{zlsc},
#{qtfz},
#{highRiskInfo},
#{weakSon},
#{weakSonInfo},
#{eyeAppearance},
#{eyeRedReflex},
#{eyeDioptroscopy},
#{eyeAdvice},
#{eyeAdviceName},
#{eyeGuideSuggestions},
#{abnormalSize},
#{okSize},
#{exerciseIA},
#{exerciseDQ},
#{movementIA},
#{movementDQ},
#{adaptationIA},
#{adaptationDQ},
#{languageIA},
#{languageDQ},
#{socialContactIA},
#{socialContactDQ},
#{nextCheckItem},
#{diseases},
#{zlcpType},
#{jcz},
#{tcType},
#{slscx}
)
</insert>
<delete id="deleteMysqlBabyCheck" parameterType="com.lyms.platform.permission.model.MysqlBabyCheck">
DELETE from lyms_babycheck WHERE checkId = #{checkId}
</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>