Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
志
志愿填报
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
单欣鑫
志愿填报
Commits
3bb3308e
Commit
3bb3308e
authored
May 30, 2025
by
sunsongtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改百度AI模型接口;
2.修改学校导出问题; 3.新增学校导入接口(未完成)
parent
bf731fbd
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
445 additions
and
300 deletions
+445
-300
MallSchoolAcceptMapper.java
...in/java/com/ruoyi/mall/mapper/MallSchoolAcceptMapper.java
+1
-0
MallSchoolServiceImpl.java
...va/com/ruoyi/mall/service/impl/MallSchoolServiceImpl.java
+405
-298
MallAcceptPlanMapper.xml
...m/src/main/resources/mapper/mall/MallAcceptPlanMapper.xml
+1
-2
MallSchoolAcceptMapper.xml
...src/main/resources/mapper/mall/MallSchoolAcceptMapper.xml
+38
-0
No files found.
ruoyi-system/src/main/java/com/ruoyi/mall/mapper/MallSchoolAcceptMapper.java
View file @
3bb3308e
...
@@ -77,6 +77,7 @@ public interface MallSchoolAcceptMapper
...
@@ -77,6 +77,7 @@ public interface MallSchoolAcceptMapper
* @return 结果
* @return 结果
*/
*/
public
int
deleteMallSchoolAcceptBySchoolAcceptIds
(
Long
[]
schoolAcceptIds
);
public
int
deleteMallSchoolAcceptBySchoolAcceptIds
(
Long
[]
schoolAcceptIds
);
public
int
insertByList
(
List
<
MallSchoolAccept
>
schoolAcceptIds
);
/**
/**
* 专业查询近三年录取记录
* 专业查询近三年录取记录
...
...
ruoyi-system/src/main/java/com/ruoyi/mall/service/impl/MallSchoolServiceImpl.java
View file @
3bb3308e
This diff is collapsed.
Click to expand it.
ruoyi-system/src/main/resources/mapper/mall/MallAcceptPlanMapper.xml
View file @
3bb3308e
...
@@ -413,9 +413,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -413,9 +413,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert
id=
"insertByList"
>
<insert
id=
"insertByList"
>
<if
test=
"schoolId != null"
>
school_id,
</if>
INSERT INTO mall_accept_plan (
INSERT INTO mall_accept_plan (
batch
_id,batch_id,plan_year,major_id,subject_type,accept_num,
school
_id,batch_id,plan_year,major_id,subject_type,accept_num,
school_price,accept_rule_id,little_score_limit,sort,
school_price,accept_rule_id,little_score_limit,sort,
create_at,update_at,del_flag,link_id
create_at,update_at,del_flag,link_id
) VALUES
) VALUES
...
...
ruoyi-system/src/main/resources/mapper/mall/MallSchoolAcceptMapper.xml
View file @
3bb3308e
...
@@ -159,6 +159,44 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -159,6 +159,44 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"linkId != null "
>
#{linkId},
</if>
<if
test=
"linkId != null "
>
#{linkId},
</if>
</trim>
</trim>
</insert>
</insert>
<insert
id=
"insertByList"
>
insert into mall_school_accept(
school_id,
major_id,
batch_id,
accept_num,
accept_lowest,
accept_year,
accept_rule_id,
send_rule_id,
create_at,
update_at,
del_flag,
subject_type,
reference,
is_reference,
link_id
) VALUES
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(
#{item.schoolId},
#{item.majorId},
#{item.batchId},
#{item.acceptNum},
#{item.acceptLowest},
#{item.acceptYear},
#{item.acceptRuleId},
#{item.sendRuleId},
#{item.createAt},
#{item.updateAt},
#{item.delFlag},
#{item.subjectType},
#{item.reference},
#{item.isReference},
#{item.linkId},
)
</foreach>
</insert>
<update
id=
"updateMallSchoolAccept"
parameterType=
"MallSchoolAccept"
>
<update
id=
"updateMallSchoolAccept"
parameterType=
"MallSchoolAccept"
>
update mall_school_accept
update mall_school_accept
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment