select ID, TIME, DEVICE_ID, DAY_LENGTH, DAY_WEIGHT, LENGTH, WEIGHT, LENGTH_A, WEIGHT_A, LENGTH_B, WEIGHT_B, REMARK from TWIN_CALC_DAY_YHJ insert into TWIN_CALC_DAY_YHJ TIME, DEVICE_ID, DAY_LENGTH, DAY_WEIGHT, LENGTH, WEIGHT, LENGTH_A, WEIGHT_A, LENGTH_B, WEIGHT_B, REMARK, #{time}, #{deviceId}, #{dayLength}, #{dayWeight}, #{length}, #{weight}, #{lengthA}, #{weightA}, #{lengthB}, #{weightB}, #{remark}, update TWIN_CALC_DAY_YHJ TIME = #{time}, DEVICE_ID = #{deviceId}, DAY_LENGTH = #{dayLength}, DAY_WEIGHT = #{dayWeight}, LENGTH = #{length}, WEIGHT = #{weight}, LENGTH_A = #{lengthA}, WEIGHT_A = #{weightA}, LENGTH_B = #{lengthB}, WEIGHT_B = #{weightB}, REMARK = #{remark}, where ID = #{id} delete from TWIN_CALC_DAY_YHJ where ID = #{id} delete from TWIN_CALC_DAY_YHJ where ID in #{id} DELETE from TWIN_CALC_DAY_YHJ WHERE TIME = #{date}