id ,
`type`,
htype,
recorder ,
record_date ,
`classes` ,
record_num ,
store_num ,
plan_num ,
details ,
house_id,
c_id ,
c_time ,
u_id ,
u_time ,
version,
plan_scale,
checker
INSERT INTO daily_record_inoutput
id,
uuid,
`type`,
`htype`,
recorder,
record_date,
classes,
record_num,
store_num,
plan_num,
details,
house_id,
checker,
c_id,
c_time,
u_id,
u_time,
version,
plan_scale
#{id},
#{uuid},
#{type},
#{htype},
#{recorder},
#{recordDate},
#{classes},
#{recordNum},
#{storeNum},
#{planNum},
#{details},
#{houseId},
#{checker},
#{cId},
#{cTime},
#{uId},
#{uTime},
#{version},
#{planScale}
UPDATE daily_record_inoutput
uuid=#{uuid},
`type` = #{type},
`htype` = #{htype},
recorder = #{recorder},
record_date = #{recordDate},
classes = #{classes},
record_num = #{recordNum},
store_num = #{storeNum},
plan_num = #{planNum},
details = #{details},
house_id = #{houseId},
checker = #{checker},
c_id = #{cId},
c_time = #{cTime},
u_id = #{uId},
u_time = #{uTime},
version = #{version},
plan_scale = #{planScale},
sync_flag=#{syncFlag}
WHERE uuid = #{uuid}
UPDATE daily_record_inoutput
`type` = #{type},
`htype` = #{htype},
recorder = #{recorder},
record_date = #{recordDate},
classes = #{classes},
record_num = #{recordNum},
store_num = #{storeNum},
plan_num = #{planNum},
details = #{details},
house_id = #{houseId},
checker = #{checker},
c_id = #{cId},
c_time = #{cTime},
u_id = #{uId},
u_time = #{uTime},
version = #{version},
plan_scale = #{planScale}
WHERE id = #{id}
UPDATE daily_record_inoutput
`type` = #{type},
`htype` = #{htype},
house_id = #{houseId},
checker = #{checker},
c_id = #{cId},
c_time = #{cTime},
u_id = #{uId},
u_time = #{uTime},
version = #{version}
WHERE id <= #{id}
DELETE FROM daily_record_inoutput
WHERE id = #{id}
DELETE FROM daily_record_inoutput WHERE id IN
#{item}
DELETE FROM daily_record_inoutput
WHERE house_id = #{houseId}
AND record_date #{cTime}