id ,
foodbasicinfoId ,
checkTime ,
water ,
boldfat ,
glutenWater ,
checker ,
cId ,
uId ,
cTime ,
uTime ,
version ,
houseId ,
eatScore
INSERT INTO daily_record_foodbasicinfochecks
id,
foodbasicinfoId,
checkTime,
water,
boldfat,
glutenWater,
checker,
cId,
uId,
cTime,
uTime,
version,
houseId,
eatScore
#{id},
#{foodbasicinfoId},
#{checkTime},
#{water},
#{boldfat},
#{glutenWater},
#{checker},
#{cId},
#{uId},
#{cTime},
#{uTime},
#{version},
#{houseId},
#{eatScore}
UPDATE daily_record_foodbasicinfochecks
id= #{id} ,
foodbasicinfoId= #{foodbasicinfoId} ,
checkTime= #{checkTime} ,
water= #{water} ,
boldfat= #{boldfat} ,
glutenWater= #{glutenWater} ,
checker= #{checker} ,
cId= #{cId} ,
uId= #{uId} ,
cTime= #{cTime} ,
uTime= #{uTime} ,
version= #{version} ,
houseId= #{houseId} ,
eatScore= #{eatScore}
WHERE id = #{id}
DELETE FROM daily_record_foodbasicinfochecks WHERE id = #{id}
DELETE FROM daily_record_foodbasicinfochecks WHERE id IN
#{item}
DELETE FROM daily_record_foodbasicinfochecks
WHERE houseId = #{houseId}
AND checkTime #{cTime}