select id, medication_item_id, dose_small_package_ration, dose, dose_small_package_num, dose_unit, dose_unit_type, remark, create_by, create_time, update_by, update_time
from medication_dose_info
insert into medication_dose_info
medication_item_id,
dose_small_package_ration,
dose,
dose_small_package_num,
dose_unit,
dose_unit_type,
remark,
create_by,
create_time,
update_by,
update_time,
#{medicationItemId},
#{doseSmallPackageRation},
#{dose},
#{doseSmallPackageNum},
#{doseUnit},
#{doseUnitType},
#{remark},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update medication_dose_info
medication_item_id =
#{medicationItemId},
dose_small_package_ration =
#{doseSmallPackageRation},
dose =
#{dose},
dose_small_package_num =
#{doseSmallPackageNum},
dose_unit =
#{doseUnit},
dose_unit_type =
#{doseUnitType},
remark =
#{remark},
create_by =
#{createBy},
create_time =
#{createTime},
update_by =
#{updateBy},
update_time =
#{updateTime},
where id = #{id}
update medication_dose_info
del_flag =1
where id = #{id}
update medication_dose_info
del_flag =1
where id in
#{id}