| | |
| | | <!--@mbg.generated--> |
| | | insert into oth_file |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | <if test="id != null and id !=''"> |
| | | id, |
| | | </if> |
| | | <if test="orgName != null"> |
| | | <if test="orgName!= null and orgName !=''"> |
| | | org_name, |
| | | </if> |
| | | <if test="extName != null"> |
| | | <if test="extName!= null and extName !=''"> |
| | | ext_name, |
| | | </if> |
| | | <if test="newName != null"> |
| | | <if test="newName!= null and newName !=''"> |
| | | new_name, |
| | | </if> |
| | | <if test="hash != null"> |
| | | <if test="hash!= null and hash !=''"> |
| | | hash, |
| | | </if> |
| | | <if test="filePath != null"> |
| | | <if test="filePath!= null and filePath !=''"> |
| | | file_path, |
| | | </if> |
| | | <if test="dt != null"> |
| | | <if test="dt != null and dt !=''"> |
| | | dt, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | <if test="id != null and id !=''"> |
| | | #{id}, |
| | | </if> |
| | | <if test="orgName != null"> |
| | | <if test="orgName!= null and orgName !=''"> |
| | | #{orgName}, |
| | | </if> |
| | | <if test="extName != null"> |
| | | <if test="extName!= null and extName !=''"> |
| | | #{extName}, |
| | | </if> |
| | | <if test="newName != null"> |
| | | <if test="newName!= null and newName !=''"> |
| | | #{newName}, |
| | | </if> |
| | | <if test="hash != null"> |
| | | <if test="hash!= null and hash !=''"> |
| | | #{hash}, |
| | | </if> |
| | | <if test="filePath != null"> |
| | | <if test="filePath!= null and filePath !=''"> |
| | | #{filePath}, |
| | | </if> |
| | | <if test="dt != null"> |
| | | <if test="dt != null and dt !=''"> |
| | | #{dt}, |
| | | </if> |
| | | </trim> |
| | |
| | | <!--@mbg.generated--> |
| | | update oth_file |
| | | <set> |
| | | <if test="orgName != null"> |
| | | <if test="orgName!= null and orgName !=''"> |
| | | org_name = #{orgName}, |
| | | </if> |
| | | <if test="extName != null"> |
| | | <if test="extName!= null and extName !=''"> |
| | | ext_name = #{extName}, |
| | | </if> |
| | | <if test="newName != null"> |
| | | <if test="newName!= null and newName !=''"> |
| | | new_name = #{newName}, |
| | | </if> |
| | | <if test="hash != null"> |
| | | <if test="hash!= null and hash !=''"> |
| | | hash = #{hash}, |
| | | </if> |
| | | <if test="filePath != null"> |
| | | <if test="filePath!= null and filePath !=''"> |
| | | file_path = #{filePath}, |
| | | </if> |
| | | <if test="dt != null"> |
| | | <if test="dt != null and dt !=''"> |
| | | dt = #{dt}, |
| | | </if> |
| | | </set> |