select id, box_no, box_type, box_remark, box_state, is_empty, create_by, create_time, update_by, update_time, userdefine1, userdefine2, location_id, is_full from wms_box_info insert into wms_box_info box_no, box_type, box_remark, box_state, is_empty, create_by, create_time, update_by, update_time, userdefine1, userdefine2, location_id, is_full, #{boxNo}, #{boxType}, #{boxRemark}, #{boxState}, #{isEmpty}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{userdefine1}, #{userdefine2}, #{locationId}, #{isFull}, update wms_box_info box_no = #{boxNo}, box_type = #{boxType}, box_remark = #{boxRemark}, box_state = #{boxState}, is_empty = #{isEmpty}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, userdefine1 = #{userdefine1}, userdefine2 = #{userdefine2}, location_id = #{locationId}, is_full = #{isFull}, where id = #{id} update wms_box_info location_id = null, box_no = #{boxNo}, box_type = #{boxType}, box_remark = #{boxRemark}, box_state = #{boxState}, is_empty = #{isEmpty}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, userdefine1 = #{userdefine1}, userdefine2 = #{userdefine2}, is_full = #{isFull}, where id = #{id} delete from wms_box_info where id = #{id} delete from wms_box_info where id in #{id} update wms_box_info location_id = #{locationTo}, is_full = #{isFull}, where location_id = #{locationFrom} update wms_box_info location_id = #{locationTo}, is_full = #{isFull}, where location_id = #{locationFrom} and box_no =#{palletNo} update wms_box_info set location_id = '',is_full = 'N',is_empty='Y' where location_id = #{locationId}