insert into sys_device device_id, device_name, sn_code, produce_order, company_id, create_time, create_user, device_type, #{deviceId,jdbcType=VARCHAR}, #{deviceName,jdbcType=VARCHAR}, #{snCode,jdbcType=VARCHAR}, #{produceOrder,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createUser,jdbcType=VARCHAR}, #{deviceType,jdbcType=VARCHAR}, update sys_device device_name = #{deviceName,jdbcType=VARCHAR}, sn_code = #{snCode,jdbcType=VARCHAR}, produce_order = #{produceOrder,jdbcType=VARCHAR}, company_id = #{companyId,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_user = #{createUser,jdbcType=VARCHAR}, device_type = #{deviceType,jdbcType=VARCHAR}, where device_id = #{deviceId,jdbcType=VARCHAR} update sys_device set is_use=2 where device_id=#{deviceId} insert into t_mold_data data_id, data_time, works_id, types, mold_id, create_time, #{dataId,jdbcType=VARCHAR}, #{dataTime,jdbcType=TIMESTAMP}, #{worksId,jdbcType=VARCHAR}, #{types,jdbcType=VARCHAR}, #{moldId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, insert into t_mold_use use_id, mold_id, seconds, #{useId,jdbcType=VARCHAR}, #{moldId,jdbcType=VARCHAR}, #{seconds,jdbcType=VARCHAR}, update t_pipe_info set out_mod=#{outMod}, out_mod_time=#{outModTime} where pipe_id=#{pipeId} update t_pipe_info set placing_type=#{placingType}, placing_in_time=#{placingInTime} where pipe_id=#{pipeId} update sys_mould set current_cycle_time=#{nums} where mould_mn=#{rfid} update t_pipe_info set placing_type=#{placingType}, placing_out_time=#{placingOutTime} where pipe_id=#{pipeId} update sys_mould set free=1 where mould_mn=#{rfid} update t_mould_check set status=2 where mod_check_id=#{modCheckId}