id, type, unitname, unitaddress, representative, representativephone, bank, licensenumber, zipcode, agent, agentphone, agentemail, account, createby, createbyname, createtime, updateby, updatetime, updatebyname, validflag delete from contractunitdetail where id = #{id,jdbcType=BIGINT} insert into contractunitdetail id, type, unitname, unitaddress, representative, representativephone, bank, licensenumber, zipcode, agent, agentphone, agentemail, account, createby, createbyname, createtime, updateby, updatetime, updatebyname, validflag, #{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, #{unitaddress,jdbcType=VARCHAR}, #{representative,jdbcType=VARCHAR}, #{representativephone,jdbcType=VARCHAR}, #{bank,jdbcType=VARCHAR}, #{licensenumber,jdbcType=VARCHAR}, #{zipcode,jdbcType=VARCHAR}, #{agent,jdbcType=VARCHAR}, #{agentphone,jdbcType=VARCHAR}, #{agentemail,jdbcType=VARCHAR}, #{account,jdbcType=VARCHAR}, #{createby,jdbcType=BIGINT}, #{createbyname,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updateby,jdbcType=BIGINT}, #{updatetime,jdbcType=TIMESTAMP}, #{updatebyname,jdbcType=VARCHAR}, #{validflag,jdbcType=BIT}, update contractunitdetail type = #{type,jdbcType=VARCHAR}, unitname = #{unitname,jdbcType=VARCHAR}, unitaddress = #{unitaddress,jdbcType=VARCHAR}, representative = #{representative,jdbcType=VARCHAR}, representativephone = #{representativephone,jdbcType=VARCHAR}, bank = #{bank,jdbcType=VARCHAR}, licensenumber = #{licensenumber,jdbcType=VARCHAR}, zipcode = #{zipcode,jdbcType=VARCHAR}, agent = #{agent,jdbcType=VARCHAR}, agentphone = #{agentphone,jdbcType=VARCHAR}, agentemail = #{agentemail,jdbcType=VARCHAR}, account = #{account,jdbcType=VARCHAR}, createby = #{createby,jdbcType=BIGINT}, createbyname = #{createbyname,jdbcType=VARCHAR}, createtime = #{createtime,jdbcType=TIMESTAMP}, updateby = #{updateby,jdbcType=BIGINT}, updatetime = #{updatetime,jdbcType=TIMESTAMP}, updatebyname = #{updatebyname,jdbcType=VARCHAR}, validflag = #{validflag,jdbcType=BIT}, where id = #{id,jdbcType=BIGINT} update contractunitdetail set type = #{type,jdbcType=VARCHAR}, unitname = #{unitname,jdbcType=VARCHAR}, unitaddress = #{unitaddress,jdbcType=VARCHAR}, representative = #{representative,jdbcType=VARCHAR}, representativephone = #{representativephone,jdbcType=VARCHAR}, bank = #{bank,jdbcType=VARCHAR}, licensenumber = #{licensenumber,jdbcType=VARCHAR}, zipcode = #{zipcode,jdbcType=VARCHAR}, agent = #{agent,jdbcType=VARCHAR}, agentphone = #{agentphone,jdbcType=VARCHAR}, agentemail = #{agentemail,jdbcType=VARCHAR}, account = #{account,jdbcType=VARCHAR}, createby = #{createby,jdbcType=BIGINT}, createbyname = #{createbyname,jdbcType=VARCHAR}, createtime = #{createtime,jdbcType=TIMESTAMP}, updateby = #{updateby,jdbcType=BIGINT}, updatetime = #{updatetime,jdbcType=TIMESTAMP}, updatebyname = #{updatebyname,jdbcType=VARCHAR}, validflag = #{validflag,jdbcType=BIT} where id = #{id,jdbcType=BIGINT}