Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 40179c25
authored
Mar 17, 2021
by
wnb0128
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车家智能V1.0.0开发 获取图片url方法添加--think.wang
1 parent
4f2b2053
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
src/main/java/com/glsx/smart/dao/mapper/SmartSysFileMapper.java
src/main/resources/mapper/SmartSysFileMapper.xml
src/main/java/com/glsx/smart/dao/mapper/SmartSysFileMapper.java
View file @
40179c2
package
com
.
glsx
.
smart
.
dao
.
mapper
;
package
com
.
glsx
.
smart
.
dao
.
mapper
;
import
java.util.List
;
import
com.glsx.smart.dao.entity.SmartSysFile
;
import
com.glsx.smart.dao.entity.SmartSysFile
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
/**
* <p>Description:
* <p>Description:
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
@@ -24,4 +25,7 @@ public interface SmartSysFileMapper extends tk.mybatis.mapper.common.Mapper<Smar
...
@@ -24,4 +25,7 @@ public interface SmartSysFileMapper extends tk.mybatis.mapper.common.Mapper<Smar
int
updateBatchSelective
(
List
<
SmartSysFile
>
list
);
int
updateBatchSelective
(
List
<
SmartSysFile
>
list
);
int
batchInsert
(
@Param
(
"list"
)
List
<
SmartSysFile
>
list
);
int
batchInsert
(
@Param
(
"list"
)
List
<
SmartSysFile
>
list
);
String
selectUrlById
(
@Param
(
"id"
)
Long
id
);
}
}
src/main/resources/mapper/SmartSysFileMapper.xml
View file @
40179c2
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
<!--@mbg.generated-->
<!--@mbg.generated-->
id, `name`, url, `type`, create_time
id, `name`, url, `type`, create_time
</sql>
</sql>
<select
id=
"selectUrlById"
parameterType=
"java.lang.Long"
resultType=
"java.lang.String"
>
select url from smart_sys_file where id = #{id,jdbcType=BIGINT}
</select>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_sys_file
update smart_sys_file
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment