insert into jsh_depothead (Type, SubType, ProjectId, DefaultNumber, Number, OperPersonName, CreateTime, OperTime, OrganId, HandsPersonId, AccountId, ChangeAmount, AllocationProjectId, TotalPrice, PayType, Remark, Salesman, AccountIdList, AccountMoneyList, Discount, DiscountMoney, DiscountLastMoney, OtherMoney, OtherMoneyList, OtherMoneyItem, AccountDay, Status, LinkNumber) values (#{type,jdbcType=VARCHAR}, #{subtype,jdbcType=VARCHAR}, #{projectid,jdbcType=BIGINT}, #{defaultnumber,jdbcType=VARCHAR}, #{number,jdbcType=VARCHAR}, #{operpersonname,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{opertime,jdbcType=TIMESTAMP}, #{organid,jdbcType=BIGINT}, #{handspersonid,jdbcType=BIGINT}, #{accountid,jdbcType=BIGINT}, #{changeamount,jdbcType=DECIMAL}, #{allocationprojectid,jdbcType=BIGINT}, #{totalprice,jdbcType=DECIMAL}, #{paytype,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{salesman,jdbcType=VARCHAR}, #{accountidlist,jdbcType=VARCHAR}, #{accountmoneylist,jdbcType=VARCHAR}, #{discount,jdbcType=DECIMAL}, #{discountmoney,jdbcType=DECIMAL}, #{discountlastmoney,jdbcType=DECIMAL}, #{othermoney,jdbcType=DECIMAL}, #{othermoneylist,jdbcType=VARCHAR}, #{othermoneyitem,jdbcType=VARCHAR}, #{accountday,jdbcType=INTEGER}, #{status,jdbcType=VARCHAR}, #{linknumber,jdbcType=VARCHAR}) update jsh_depothead Type = #{type,jdbcType=VARCHAR}, SubType = #{subtype,jdbcType=VARCHAR}, ProjectId = #{projectid,jdbcType=BIGINT}, DefaultNumber = #{defaultnumber,jdbcType=VARCHAR}, Number = #{number,jdbcType=VARCHAR}, OperPersonName = #{operpersonname,jdbcType=VARCHAR}, OperTime = #{opertime,jdbcType=TIMESTAMP}, OrganId = #{organid,jdbcType=BIGINT}, HandsPersonId = #{handspersonid,jdbcType=BIGINT}, AccountId = #{accountid,jdbcType=BIGINT}, ChangeAmount = #{changeamount,jdbcType=DECIMAL}, AllocationProjectId = #{allocationprojectid,jdbcType=BIGINT}, TotalPrice = #{totalprice,jdbcType=DECIMAL}, PayType = #{paytype,jdbcType=VARCHAR}, Remark = #{remark,jdbcType=VARCHAR}, Salesman = #{salesman,jdbcType=VARCHAR}, AccountIdList = #{accountidlist,jdbcType=VARCHAR}, AccountMoneyList = #{accountmoneylist,jdbcType=VARCHAR}, Discount = #{discount,jdbcType=DECIMAL}, DiscountMoney = #{discountmoney,jdbcType=DECIMAL}, DiscountLastMoney = #{discountlastmoney,jdbcType=DECIMAL}, OtherMoney = #{othermoney,jdbcType=DECIMAL}, OtherMoneyList = #{othermoneylist,jdbcType=VARCHAR}, OtherMoneyItem = #{othermoneyitem,jdbcType=VARCHAR}, AccountDay = #{accountday,jdbcType=INTEGER}, Status = #{status,jdbcType=VARCHAR}, LinkNumber = #{linknumber,jdbcType=VARCHAR}, where Id = #{id,jdbcType=BIGINT} update jsh_depothead set delete_Flag='1' where 1=1 and id in ( #{id} )