MdModelInfoMapper.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.ruoyi.interfaces.mapper.MdModelInfoMapper">
  6. <resultMap type="com.ruoyi.interfaces.domain.MdModelInfo" id="MdModelInfoResult">
  7. <result property="mdid" column="MDID" />
  8. <result property="name" column="NAME" />
  9. <result property="enname" column="ENNAME" />
  10. <result property="cateid" column="CATEID" />
  11. <result property="devlang" column="DEVLANG" />
  12. <result property="version" column="VERSION" />
  13. <result property="intro" column="INTRO" />
  14. <result property="type" column="TYPE" />
  15. <result property="tags" column="TAGS" />
  16. <result property="kind" column="KIND" />
  17. <result property="purpose" column="PURPOSE" />
  18. <result property="israte" column="ISRATE" />
  19. <result property="weight" column="WEIGHT" />
  20. <result property="msort" column="MSORT" />
  21. <result property="author" column="AUTHOR" />
  22. <result property="ispublic" column="ISPUBLIC" />
  23. <result property="isapproved" column="ISAPPROVED" />
  24. <result property="status" column="STATUS" />
  25. <result property="classname" column="CLASSNAME" />
  26. <result property="mdRunCmd" column="MD_RUN_CMD" />
  27. <result property="mdUrl" column="MD_URL" />
  28. <result property="mdAuth" column="MD_AUTH" />
  29. <result property="mdHeader" column="MD_HEADER" />
  30. <result property="mdSecret" column="MD_SECRET" />
  31. <result property="mdUnit" column="MD_UNIT" />
  32. <result property="mdContact" column="MD_CONTACT" />
  33. <result property="devUnit" column="DEV_UNIT" />
  34. <result property="devContact" column="DEV_CONTACT" />
  35. <result property="whFlag" column="WH_FLAG" />
  36. <result property="whUrl" column="WH_URL" />
  37. <result property="whMethod" column="WH_METHOD" />
  38. <result property="whAuth" column="WH_AUTH" />
  39. <result property="whHeader" column="WH_HEADER" />
  40. <result property="whSecret" column="WH_SECRET" />
  41. <result property="envOs" column="ENV_OS" />
  42. <result property="evnArmX86" column="EVN_ARM_X86" />
  43. <result property="envCpu" column="ENV_CPU" />
  44. <result property="envGpuType" column="ENV_GPU_TYPE" />
  45. <result property="envGpuNum" column="ENV_GPU_NUM" />
  46. <result property="envGpuMem" column="ENV_GPU_MEM" />
  47. <result property="envDisk" column="ENV_DISK" />
  48. <result property="envMem" column="ENV_MEM" />
  49. <result property="deployIp" column="DEPLOY_IP" />
  50. <result property="deployDir" column="DEPLOY_DIR" />
  51. <result property="deployPort" column="DEPLOY_PORT" />
  52. <result property="deployNote" column="DEPLOY_NOTE" />
  53. <result property="mdInName" column="MD_IN_NAME" />
  54. <result property="mdInFile" column="MD_IN_FILE" />
  55. <result property="mdInNote" column="MD_IN_NOTE" />
  56. <result property="mdOutName" column="MD_OUT_NAME" />
  57. <result property="mdOutFile" column="MD_OUT_FILE" />
  58. <result property="mdOutNote" column="MD_OUT_NOTE" />
  59. <result property="mirrorImageName" column="MIRROR_IMAGE_NAME" />
  60. <result property="mirrorImageUrl" column="MIRROR_IMAGE_URL" />
  61. <result property="mirrorImageDesc" column="MIRROR_IMAGE_DESC" />
  62. <result property="mdAuthUrl" column="MD_AUTH_URL" />
  63. <result property="createby" column="CREATEBY" />
  64. <result property="modifyby" column="MODIFYBY" />
  65. <result property="regUser" column="REG_USER" />
  66. <result property="sort" column="SORT" />
  67. </resultMap>
  68. <sql id="selectMdModelInfoVo">
  69. select MDID,
  70. NAME,
  71. ENNAME,
  72. CATEID,
  73. DEVLANG,
  74. VERSION,
  75. INTRO,
  76. TYPE,
  77. TAGS,
  78. KIND,
  79. PURPOSE,
  80. ISRATE,
  81. WEIGHT,
  82. MSORT,
  83. AUTHOR,
  84. ISPUBLIC,
  85. ISAPPROVED,
  86. STATUS,
  87. CLASSNAME,
  88. MD_RUN_CMD,
  89. MD_URL,
  90. MD_AUTH,
  91. MD_HEADER,
  92. MD_SECRET,
  93. MD_UNIT,
  94. MD_CONTACT,
  95. DEV_UNIT,
  96. DEV_CONTACT,
  97. WH_FLAG,
  98. WH_URL,
  99. WH_METHOD,
  100. WH_AUTH,
  101. WH_HEADER,
  102. WH_SECRET,
  103. ENV_OS,
  104. EVN_ARM_X86,
  105. ENV_CPU,
  106. ENV_GPU_TYPE,
  107. ENV_GPU_NUM,
  108. ENV_GPU_MEM,
  109. ENV_DISK,
  110. ENV_MEM,
  111. DEPLOY_IP,
  112. DEPLOY_DIR,
  113. DEPLOY_PORT,
  114. DEPLOY_NOTE,
  115. MD_IN_NAME,
  116. MD_IN_FILE,
  117. MD_IN_NOTE,
  118. MD_OUT_NAME,
  119. MD_OUT_FILE,
  120. MD_OUT_NOTE,
  121. MIRROR_IMAGE_NAME,
  122. MIRROR_IMAGE_URL,
  123. MIRROR_IMAGE_DESC,
  124. MD_AUTH_URL,
  125. CREATEBY,
  126. MODIFYBY,
  127. REG_USER,
  128. SORT
  129. from md_model_info
  130. </sql>
  131. <select id="selectMdModelInfoList" parameterType="com.ruoyi.interfaces.domain.MdModelInfo" resultMap="MdModelInfoResult">
  132. <include refid="selectMdModelInfoVo"/>
  133. <where>
  134. <if test="name != null and name != ''"> and NAME like concat('%', #{name}, '%')</if>
  135. <if test="enname != null and enname != ''"> and ENNAME like concat('%', #{enname}, '%')</if>
  136. <if test="cateid != null and cateid != ''"> and CATEID = #{cateid}</if>
  137. <if test="devlang != null and devlang != ''"> and DEVLANG = #{devlang}</if>
  138. <if test="version != null and version != ''"> and VERSION = #{version}</if>
  139. <if test="intro != null and intro != ''"> and INTRO = #{intro}</if>
  140. <if test="type != null and type != ''"> and TYPE = #{type}</if>
  141. <if test="tags != null and tags != ''"> and TAGS = #{tags}</if>
  142. <if test="kind != null "> and KIND = #{kind}</if>
  143. <if test="purpose != null "> and PURPOSE = #{purpose}</if>
  144. <if test="israte != null "> and ISRATE = #{israte}</if>
  145. <if test="weight != null "> and WEIGHT = #{weight}</if>
  146. <if test="msort != null "> and MSORT = #{msort}</if>
  147. <if test="tags != null and tags != ''"> and TAGS = #{tags}</if>
  148. <if test="tags != null and tags != ''"> and TAGS = #{tags}</if>
  149. <if test="author != null and author != ''"> and AUTHOR = #{author}</if>
  150. <if test="ispublic != null "> and ISPUBLIC = #{ispublic}</if>
  151. <if test="isapproved != null "> and ISAPPROVED = #{isapproved}</if>
  152. <if test="status != null "> and STATUS = #{status}</if>
  153. <if test="classname != null and classname != ''"> and CLASSNAME like concat('%', #{classname}, '%')</if>
  154. <if test="mdRunCmd != null and mdRunCmd != ''"> and MD_RUN_CMD = #{mdRunCmd}</if>
  155. <if test="mdUrl != null and mdUrl != ''"> and MD_URL = #{mdUrl}</if>
  156. <if test="mdAuth != null and mdAuth != ''"> and MD_AUTH = #{mdAuth}</if>
  157. <if test="mdHeader != null and mdHeader != ''"> and MD_HEADER = #{mdHeader}</if>
  158. <if test="mdSecret != null and mdSecret != ''"> and MD_SECRET = #{mdSecret}</if>
  159. <if test="mdUnit != null and mdUnit != ''"> and MD_UNIT = #{mdUnit}</if>
  160. <if test="mdContact != null and mdContact != ''"> and MD_CONTACT = #{mdContact}</if>
  161. <if test="devUnit != null and devUnit != ''"> and DEV_UNIT = #{devUnit}</if>
  162. <if test="devContact != null and devContact != ''"> and DEV_CONTACT = #{devContact}</if>
  163. <if test="whFlag != null "> and WH_FLAG = #{whFlag}</if>
  164. <if test="whUrl != null and whUrl != ''"> and WH_URL = #{whUrl}</if>
  165. <if test="whMethod != null and whMethod != ''"> and WH_METHOD = #{whMethod}</if>
  166. <if test="whAuth != null and whAuth != ''"> and WH_AUTH = #{whAuth}</if>
  167. <if test="whHeader != null and whHeader != ''"> and WH_HEADER = #{whHeader}</if>
  168. <if test="whSecret != null and whSecret != ''"> and WH_SECRET = #{whSecret}</if>
  169. <if test="envOs != null and envOs != ''"> and ENV_OS = #{envOs}</if>
  170. <if test="evnArmX86 != null and evnArmX86 != ''"> and EVN_ARM_X86 = #{evnArmX86}</if>
  171. <if test="envCpu != null "> and ENV_CPU = #{envCpu}</if>
  172. <if test="envGpuType != null and envGpuType != ''"> and ENV_GPU_TYPE = #{envGpuType}</if>
  173. <if test="envGpuNum != null "> and ENV_GPU_NUM = #{envGpuNum}</if>
  174. <if test="envGpuMem != null "> and ENV_GPU_MEM = #{envGpuMem}</if>
  175. <if test="envDisk != null "> and ENV_DISK = #{envDisk}</if>
  176. <if test="envMem != null "> and ENV_MEM = #{envMem}</if>
  177. <if test="deployIp != null and deployIp != ''"> and DEPLOY_IP = #{deployIp}</if>
  178. <if test="deployDir != null and deployDir != ''"> and DEPLOY_DIR = #{deployDir}</if>
  179. <if test="deployPort != null and deployPort != ''"> and DEPLOY_PORT = #{deployPort}</if>
  180. <if test="deployNote != null and deployNote != ''"> and DEPLOY_NOTE = #{deployNote}</if>
  181. <if test="mdInName != null and mdInName != ''"> and MD_IN_NAME like concat('%', #{mdInName}, '%')</if>
  182. <if test="mdInFile != null and mdInFile != ''"> and MD_IN_FILE = #{mdInFile}</if>
  183. <if test="mdInNote != null and mdInNote != ''"> and MD_IN_NOTE = #{mdInNote}</if>
  184. <if test="mdOutName != null and mdOutName != ''"> and MD_OUT_NAME like concat('%', #{mdOutName}, '%')</if>
  185. <if test="mdOutFile != null and mdOutFile != ''"> and MD_OUT_FILE = #{mdOutFile}</if>
  186. <if test="mdOutNote != null and mdOutNote != ''"> and MD_OUT_NOTE = #{mdOutNote}</if>
  187. <if test="mirrorImageName != null and mirrorImageName != ''"> and MIRROR_IMAGE_NAME like concat('%', #{mirrorImageName}, '%')</if>
  188. <if test="mirrorImageUrl != null and mirrorImageUrl != ''"> and MIRROR_IMAGE_URL = #{mirrorImageUrl}</if>
  189. <if test="mirrorImageDesc != null and mirrorImageDesc != ''"> and MIRROR_IMAGE_DESC = #{mirrorImageDesc}</if>
  190. <if test="mdAuthUrl != null and mdAuthUrl != ''"> and MD_AUTH_URL = #{mdAuthUrl}</if>
  191. <if test="createby != null "> and CREATEBY = #{createby}</if>
  192. <if test="modifyby != null "> and MODIFYBY = #{modifyby}</if>
  193. <if test="regUser != null and regUser != ''"> and REG_USER = #{regUser}</if>
  194. <if test="sort != null and sort != ''"> and SORT = #{sort}</if>
  195. </where>
  196. order by SORT
  197. </select>
  198. <select id="selectMdModelInfoByMdid" parameterType="String" resultMap="MdModelInfoResult">
  199. <include refid="selectMdModelInfoVo"/>
  200. where MDID = #{mdid}
  201. </select>
  202. <insert id="insertMdModelInfo" parameterType="com.ruoyi.interfaces.domain.MdModelInfo">
  203. insert into md_model_info
  204. <trim prefix="(" suffix=")" suffixOverrides=",">
  205. <if test="mdid != null">MDID,</if>
  206. <if test="name != null">NAME,</if>
  207. <if test="enname != null">ENNAME,</if>
  208. <if test="cateid != null">CATEID,</if>
  209. <if test="devlang != null">DEVLANG,</if>
  210. <if test="version != null">VERSION,</if>
  211. <if test="intro != null">INTRO,</if>
  212. <if test="type != null">TYPE,</if>
  213. <if test="tags != null">TAGS,</if>
  214. <if test="kind != null">KIND,</if>
  215. <if test="purpose != null">PURPOSE,</if>
  216. <if test="israte != null">ISRATE,</if>
  217. <if test="weight != null">WEIGHT,</if>
  218. <if test="msort != null">MSORT,</if>
  219. <if test="author != null">AUTHOR,</if>
  220. <if test="ispublic != null">ISPUBLIC,</if>
  221. <if test="isapproved != null">ISAPPROVED,</if>
  222. <if test="status != null">STATUS,</if>
  223. <if test="classname != null">CLASSNAME,</if>
  224. <if test="mdRunCmd != null">MD_RUN_CMD,</if>
  225. <if test="mdUrl != null">MD_URL,</if>
  226. <if test="mdAuth != null">MD_AUTH,</if>
  227. <if test="mdHeader != null">MD_HEADER,</if>
  228. <if test="mdSecret != null">MD_SECRET,</if>
  229. <if test="mdUnit != null">MD_UNIT,</if>
  230. <if test="mdContact != null">MD_CONTACT,</if>
  231. <if test="devUnit != null">DEV_UNIT,</if>
  232. <if test="devContact != null">DEV_CONTACT,</if>
  233. <if test="whFlag != null">WH_FLAG,</if>
  234. <if test="whUrl != null">WH_URL,</if>
  235. <if test="whMethod != null">WH_METHOD,</if>
  236. <if test="whAuth != null">WH_AUTH,</if>
  237. <if test="whHeader != null">WH_HEADER,</if>
  238. <if test="whSecret != null">WH_SECRET,</if>
  239. <if test="envOs != null">ENV_OS,</if>
  240. <if test="evnArmX86 != null">EVN_ARM_X86,</if>
  241. <if test="envCpu != null">ENV_CPU,</if>
  242. <if test="envGpuType != null">ENV_GPU_TYPE,</if>
  243. <if test="envGpuNum != null">ENV_GPU_NUM,</if>
  244. <if test="envGpuMem != null">ENV_GPU_MEM,</if>
  245. <if test="envDisk != null">ENV_DISK,</if>
  246. <if test="envMem != null">ENV_MEM,</if>
  247. <if test="deployIp != null">DEPLOY_IP,</if>
  248. <if test="deployDir != null">DEPLOY_DIR,</if>
  249. <if test="deployPort != null">DEPLOY_PORT,</if>
  250. <if test="deployNote != null">DEPLOY_NOTE,</if>
  251. <if test="mdInName != null">MD_IN_NAME,</if>
  252. <if test="mdInFile != null">MD_IN_FILE,</if>
  253. <if test="mdInNote != null">MD_IN_NOTE,</if>
  254. <if test="mdOutName != null">MD_OUT_NAME,</if>
  255. <if test="mdOutFile != null">MD_OUT_FILE,</if>
  256. <if test="mdOutNote != null">MD_OUT_NOTE,</if>
  257. <if test="mirrorImageName != null">MIRROR_IMAGE_NAME,</if>
  258. <if test="mirrorImageUrl != null">MIRROR_IMAGE_URL,</if>
  259. <if test="mirrorImageDesc != null">MIRROR_IMAGE_DESC,</if>
  260. <if test="mdAuthUrl != null">MD_AUTH_URL,</if>
  261. <if test="createby != null">CREATEBY,</if>
  262. <if test="modifyby != null">MODIFYBY,</if>
  263. <if test="regUser != null">REG_USER,</if>
  264. <if test="sort != null">SORT,</if>
  265. </trim>
  266. <trim prefix="values (" suffix=")" suffixOverrides=",">
  267. <if test="mdid != null">#{mdid},</if>
  268. <if test="name != null">#{name},</if>
  269. <if test="enname != null">#{enname},</if>
  270. <if test="cateid != null">#{cateid},</if>
  271. <if test="devlang != null">#{devlang},</if>
  272. <if test="version != null">#{version},</if>
  273. <if test="intro != null">#{intro},</if>
  274. <if test="type != null">#{type},</if>
  275. <if test="tags != null">#{tags},</if>
  276. <if test="kind != null">#{kind},</if>
  277. <if test="purpose != null">#{purpose},</if>
  278. <if test="israte != null">#{israte},</if>
  279. <if test="weight != null">#{weight},</if>
  280. <if test="msort != null">#{msort},</if>
  281. <if test="author != null">#{author},</if>
  282. <if test="ispublic != null">#{ispublic},</if>
  283. <if test="isapproved != null">#{isapproved},</if>
  284. <if test="status != null">#{status},</if>
  285. <if test="classname != null">#{classname},</if>
  286. <if test="mdRunCmd != null">#{mdRunCmd},</if>
  287. <if test="mdUrl != null">#{mdUrl},</if>
  288. <if test="mdAuth != null">#{mdAuth},</if>
  289. <if test="mdHeader != null">#{mdHeader},</if>
  290. <if test="mdSecret != null">#{mdSecret},</if>
  291. <if test="mdUnit != null">#{mdUnit},</if>
  292. <if test="mdContact != null">#{mdContact},</if>
  293. <if test="devUnit != null">#{devUnit},</if>
  294. <if test="devContact != null">#{devContact},</if>
  295. <if test="whFlag != null">#{whFlag},</if>
  296. <if test="whUrl != null">#{whUrl},</if>
  297. <if test="whMethod != null">#{whMethod},</if>
  298. <if test="whAuth != null">#{whAuth},</if>
  299. <if test="whHeader != null">#{whHeader},</if>
  300. <if test="whSecret != null">#{whSecret},</if>
  301. <if test="envOs != null">#{envOs},</if>
  302. <if test="evnArmX86 != null">#{evnArmX86},</if>
  303. <if test="envCpu != null">#{envCpu},</if>
  304. <if test="envGpuType != null">#{envGpuType},</if>
  305. <if test="envGpuNum != null">#{envGpuNum},</if>
  306. <if test="envGpuMem != null">#{envGpuMem},</if>
  307. <if test="envDisk != null">#{envDisk},</if>
  308. <if test="envMem != null">#{envMem},</if>
  309. <if test="deployIp != null">#{deployIp},</if>
  310. <if test="deployDir != null">#{deployDir},</if>
  311. <if test="deployPort != null">#{deployPort},</if>
  312. <if test="deployNote != null">#{deployNote},</if>
  313. <if test="mdInName != null">#{mdInName},</if>
  314. <if test="mdInFile != null">#{mdInFile},</if>
  315. <if test="mdInNote != null">#{mdInNote},</if>
  316. <if test="mdOutName != null">#{mdOutName},</if>
  317. <if test="mdOutFile != null">#{mdOutFile},</if>
  318. <if test="mdOutNote != null">#{mdOutNote},</if>
  319. <if test="mirrorImageName != null">#{mirrorImageName},</if>
  320. <if test="mirrorImageUrl != null">#{mirrorImageUrl},</if>
  321. <if test="mirrorImageDesc != null">#{mirrorImageDesc},</if>
  322. <if test="mdAuthUrl != null">#{mdAuthUrl},</if>
  323. <if test="createby != null">#{createby},</if>
  324. <if test="modifyby != null">#{modifyby},</if>
  325. <if test="regUser != null">#{regUser},</if>
  326. <if test="sort != null">#{sort},</if>
  327. </trim>
  328. </insert>
  329. <update id="updateMdModelInfo" parameterType="com.ruoyi.interfaces.domain.MdModelInfo">
  330. update md_model_info
  331. <trim prefix="SET" suffixOverrides=",">
  332. <if test="name != null">NAME = #{name},</if>
  333. <if test="enname != null">ENNAME = #{enname},</if>
  334. <if test="cateid != null">CATEID = #{cateid},</if>
  335. <if test="devlang != null">DEVLANG = #{devlang},</if>
  336. <if test="version != null">VERSION = #{version},</if>
  337. <if test="intro != null">INTRO = #{intro},</if>
  338. <if test="type != null">TYPE = #{type},</if>
  339. <if test="tags != null">TAGS = #{tags},</if>
  340. <if test="kind != null">KIND = #{kind},</if>
  341. <if test="purpose != null">PURPOSE = #{purpose},</if>
  342. <if test="israte != null">ISRATE = #{israte},</if>
  343. <if test="weight != null">WEIGHT = #{weight},</if>
  344. <if test="msort != null">MSORT = #{msort},</if>
  345. <if test="author != null">AUTHOR = #{author},</if>
  346. <if test="ispublic != null">ISPUBLIC = #{ispublic},</if>
  347. <if test="isapproved != null">ISAPPROVED = #{isapproved},</if>
  348. <if test="status != null">STATUS = #{status},</if>
  349. <if test="classname != null">CLASSNAME = #{classname},</if>
  350. <if test="mdRunCmd != null">MD_RUN_CMD = #{mdRunCmd},</if>
  351. <if test="mdUrl != null">MD_URL = #{mdUrl},</if>
  352. <if test="mdAuth != null">MD_AUTH = #{mdAuth},</if>
  353. <if test="mdHeader != null">MD_HEADER = #{mdHeader},</if>
  354. <if test="mdSecret != null">MD_SECRET = #{mdSecret},</if>
  355. <if test="mdUnit != null">MD_UNIT = #{mdUnit},</if>
  356. <if test="mdContact != null">MD_CONTACT = #{mdContact},</if>
  357. <if test="devUnit != null">DEV_UNIT = #{devUnit},</if>
  358. <if test="devContact != null">DEV_CONTACT = #{devContact},</if>
  359. <if test="whFlag != null">WH_FLAG = #{whFlag},</if>
  360. <if test="whUrl != null">WH_URL = #{whUrl},</if>
  361. <if test="whMethod != null">WH_METHOD = #{whMethod},</if>
  362. <if test="whAuth != null">WH_AUTH = #{whAuth},</if>
  363. <if test="whHeader != null">WH_HEADER = #{whHeader},</if>
  364. <if test="whSecret != null">WH_SECRET = #{whSecret},</if>
  365. <if test="envOs != null">ENV_OS = #{envOs},</if>
  366. <if test="evnArmX86 != null">EVN_ARM_X86 = #{evnArmX86},</if>
  367. <if test="envCpu != null">ENV_CPU = #{envCpu},</if>
  368. <if test="envGpuType != null">ENV_GPU_TYPE = #{envGpuType},</if>
  369. <if test="envGpuNum != null">ENV_GPU_NUM = #{envGpuNum},</if>
  370. <if test="envGpuMem != null">ENV_GPU_MEM = #{envGpuMem},</if>
  371. <if test="envDisk != null">ENV_DISK = #{envDisk},</if>
  372. <if test="envMem != null">ENV_MEM = #{envMem},</if>
  373. <if test="deployIp != null">DEPLOY_IP = #{deployIp},</if>
  374. <if test="deployDir != null">DEPLOY_DIR = #{deployDir},</if>
  375. <if test="deployPort != null">DEPLOY_PORT = #{deployPort},</if>
  376. <if test="deployNote != null">DEPLOY_NOTE = #{deployNote},</if>
  377. <if test="mdInName != null">MD_IN_NAME = #{mdInName},</if>
  378. <if test="mdInFile != null">MD_IN_FILE = #{mdInFile},</if>
  379. <if test="mdInNote != null">MD_IN_NOTE = #{mdInNote},</if>
  380. <if test="mdOutName != null">MD_OUT_NAME = #{mdOutName},</if>
  381. <if test="mdOutFile != null">MD_OUT_FILE = #{mdOutFile},</if>
  382. <if test="mdOutNote != null">MD_OUT_NOTE = #{mdOutNote},</if>
  383. <if test="mirrorImageName != null">MIRROR_IMAGE_NAME = #{mirrorImageName},</if>
  384. <if test="mirrorImageUrl != null">MIRROR_IMAGE_URL = #{mirrorImageUrl},</if>
  385. <if test="mirrorImageDesc != null">MIRROR_IMAGE_DESC = #{mirrorImageDesc},</if>
  386. <if test="mdAuthUrl != null">MD_AUTH_URL = #{mdAuthUrl},</if>
  387. <if test="createby != null">CREATEBY = #{createby},</if>
  388. <if test="modifyby != null">MODIFYBY = #{modifyby},</if>
  389. <if test="regUser != null">REG_USER = #{regUser},</if>
  390. <if test="sort != null">SORT = #{sort},</if>
  391. </trim>
  392. where MDID = #{mdid}
  393. </update>
  394. <delete id="deleteMdModelInfoByMdid" parameterType="String">
  395. delete from md_model_info where MDID = #{mdid}
  396. </delete>
  397. <delete id="deleteMdModelInfoByMdids" parameterType="String">
  398. delete from md_model_info where MDID in
  399. <foreach item="mdid" collection="array" open="(" separator="," close=")">
  400. #{mdid}
  401. </foreach>
  402. </delete>
  403. </mapper>