id
, no,
financing_no,
position_no,pp_no,
financing_no_two,
financing_no_third,
financing_no_four,
financing_no_five,
param_list,
name, model_id,
is_child, is_measure, measure_status,is_self,
is_show,
is_financing,
type_id, level, initial_value, current_value, cut_value,
producer_id, source_type, source_sb_id, parent_id, unit, position_id,
use_area,
check_id,
rate,
month,
used_month,
card_no,
use_company,
use_project,
use_dept,
use_group,
use_user,
save_dept,
save_user,
repair_user,
buy_date, start_date, next_check_date, guarantee_date, work_year, retirement_date,
depreciation_type, wb_file, use_file, check_file, sb_image, qr_code, status, remark,
created_user_id, update_user_id, created_time, update_time,
zzh,
fdjxh,
fdjh,
cph,
dph,
zz,
zaiz,
last_repaire_time,
repaire_times,
last_baoyang_time,
last_baoyang_hours,
last_baoyang_miles,
baoyang_times,
rl_type,
color,
use_type,
seat_number,
zjm,
sp_date,
jbdh,
sbdh,
jbd_date,
sbd_date,
bxgs,
sb_date,
check_date,
check_period,
register_no,
character_type,
used_no,
supplier,
repair_user_second,
batch_no,
register_date,
zbh,
refuse_reason,
apply_time,
audit_time,
submit_time,
process_instance_id,
audit_node,
remark,
apply_comment,
scrap_user_id,
scrap_user_name
sb.id, sb.no,
sb.financing_no_two,
sb.financing_no_third,
sb.financing_no_four,
sb.financing_no_five,
sb.financing_no,
sb.position_no,
sb.pp_no,
sb.name, sb.initial_value,
sb.current_value, sb.cut_value,
sb.is_child, sb.is_measure, sb.measure_status,sb.is_self,
sb.is_financing,
sb.parent_id,
sb.param_list,
sb.is_show,
sb.unit, sb.position_id,
sb.use_area,
sb.rate,
sb.month,
sb.used_month,
sb.card_no,
sb.check_id,
sb.use_company,
sb.use_project,
sb.use_dept,
sb.use_group,
sb.use_user,
sb.save_dept,
sb.save_user,
sb.repair_user,
sb.buy_date, sb.start_date, sb.next_check_date, sb.guarantee_date, sb.work_year,
sb.retirement_date,
sb.depreciation_type, sb.wb_file, sb.use_file, sb.check_file, sb.sb_image, sb.qr_code, sb.status, sb.remark,
sb.created_user_id, sb.update_user_id, sb.created_time, sb.update_time,
sb.model_id,
sb.zzh,
sb.fdjxh,
sb.fdjh,
sb.cph,
sb.dph,
sb.zz,
sb.zaiz,
sb.last_repaire_time,
sb.repaire_times,
sb.last_baoyang_time,
sb.last_baoyang_hours,
sb.last_baoyang_miles,
sb.use_type,
sb.baoyang_times,
sb.rl_type,
sb.color,
sb.seat_number,
sb.zjm,
sb.sp_date,
sb.jbdh,
sb.sbdh,
sb.total_hours,
sb.total_miles,
sb.jbd_date,
sb.sbd_date,
sb.bxgs,
sb.sb_date,
sb.type_id as typeId,
sb.name_model as nameModel,
sb.model,
sb.producer_id as producerId,
sb.level,
sb.unit,
sb.use_type as useType,
sbType.name as typeName,
position.name as positionName,
sb.check_date,
sb.check_period,
sb.register_no,
sb.character_type,
sb.used_no,
sb.zbh,
sb.supplier,
sb.repair_user_second,
sb.batch_no,
sb.register_date,
sb.refuse_reason,
sb.apply_time,
sb.audit_time,
sb.submit_time,
sb.process_instance_id,
sb.audit_node,
sb.remark,
sb.apply_comment,
sb.scrap_user_id,
sb.scrap_user_name,sb.repair_dept_id
and sb.save_dept = #{saveDept}
update t_sb_info
measure_status= #{item.measureStatus}
where id = #{item.id}
update t_sb_info
qr_code=#{item.qrCode}
where id = #{item.id}
update t_sb_info
parent_id = #{item.parentId}
where id = #{item.id}
update t_sb_info
initial_value=#{item.initialValue},
current_value=#{item.currentValue},
cut_value=#{item.cutValue},
month=#{item.month},
rate=#{item.rate},
used_month=#{item.usedMonth}
where id = #{item.id}
update t_sb_info
status=${status}, update_time=#{updateTime,jdbcType=TIMESTAMP}
where
id in
#{item}
update t_sb_info
total_hours= total_hours+#{item.totalHours},
total_miles=total_miles+#{item.totalMiles},
where id = #{item.id}
update t_sb_info
use_area = #{useArea},
use_company = #{useCompany},
use_company_name = #{useCompanyName},
use_project = #{useProject},
use_project_name = #{useProjectName},
use_dept = #{useDept},
use_dept_name = #{useDeptName},
use_group = #{useGroup},
use_group_name = #{useGroupName},
save_dept = #{saveDept},
save_dept_name = #{saveDeptName},
save_user = #{saveUser},
status = #{status},
update_time=#{updateTime,jdbcType=TIMESTAMP},
update_user_id = #{updateUserId},
update_user_name = #{updateUserName},
save_user = null,
where
id in
#{item}
update t_sb_info set status = #{status},position_id = null,positionNo = null,ppNo = null,parentId = null where id = #{id}