|
|
|
@@ -73,7 +73,7 @@ |
|
|
|
and computing_resource = #{computingResource.computingResource} |
|
|
|
</if> |
|
|
|
<if test="computingResource.standard != null and computingResource.standard != ''"> |
|
|
|
and standard = #{computingResource.standard} |
|
|
|
and standard = #{computingResource.computingResource} |
|
|
|
</if> |
|
|
|
<if test="computingResource.description != null and computingResource.description != ''"> |
|
|
|
and description = #{computingResource.description} |
|
|
|
@@ -96,17 +96,17 @@ |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
|
|
|
|
<!--新增所有列--> |
|
|
|
<insert id="insert" keyProperty="id" useGeneratedKeys="true"> |
|
|
|
insert into computing_resource(computing_resourcestandarddescriptioncreate_bycreate_timeupdate_byupdate_timestate) |
|
|
|
values (#{computingResource}#{standard}#{description}#{createBy}#{createTime}#{updateBy}#{updateTime}#{state}) |
|
|
|
insert into computing_resource (computing_resource, standard, description, create_by, create_time, update_by, update_time, state) |
|
|
|
values (#{computingResource.computingResource}, #{computingResource.standard}, #{computingResource.description}, #{computingResource.createBy}, #{computingResource.createTime}, #{computingResource.updateBy}, #{computingResource.updateTime}, #{computingResource.state}) |
|
|
|
</insert> |
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertBatch" keyProperty="id" useGeneratedKeys="true"> |
|
|
|
insert into computing_resource(computing_resourcestandarddescriptioncreate_bycreate_timeupdate_byupdate_timestate) |
|
|
|
insert into computing_resource(computing_resource,standard,description,create_by,create_time,update_by,update_time,state) |
|
|
|
values |
|
|
|
<foreach collection="entities" item="entity" separator=","> |
|
|
|
(#{entity.computingResource}#{entity.standard}#{entity.description}#{entity.createBy}#{entity.createTime}#{entity.updateBy}#{entity.updateTime}#{entity.state}) |
|
|
|
(#{entity.computingResource},#{entity.standard},#{entity.description},#{entity.createBy},#{entity.createTime},#{entity.updateBy},#{entity.updateTime},#{entity.state}) |
|
|
|
</foreach> |
|
|
|
</insert> |
|
|
|
|
|
|
|
|