INSERT INTO sys_instore_info ( ID, INSTORE_DATE, INSTORE_TYPE, AMMOUNT_ALL, SUPPLIER_ID, MAKING_MAN_ID, APP_MAN_ID, APP_TIME, REMARK, SUM_ALL, STORE_ID, CHECK_STATUS, INSTORE_ID, APP_REMARK, shop_id, company_id ) VALUES ( #{id}, #{instoreDate}, #{instoreType}, #{ammountAll}, #{supplierId}, #{makingmanId}, #{appmanId}, #{apptime}, #{remark}, #{sumall}, #{storeId}, #{checkStatus}, #{instoreId}, #{appRemark}, #{shopId}, #{companyId} ) UPDATE sys_instore_info INSTORE_DATE = #{instoreDate}, INSTORE_TYPE = #{instoreType}, AMMOUNT_ALL = #{ammountAll}, SUPPLIER_ID = #{supplierId}, MAKING_MAN_ID = #{makingmanId}, APP_MAN_ID = #{appmanId}, APP_TIME = #{apptime}, REMARK = #{remark}, SUM_ALL = #{sumall}, STORE_ID = #{storeId}, CHECK_STATUS = #{checkStatus}, INSTORE_ID = #{instoreId}, APP_REMARK = #{appRemark}, WHERE ID=#{id} delete from sys_instore_info where ID in #{item} DELETE FROM sys_instore_info where ID=#{id}