Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9f72d0fa
authored
Jul 10, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
0521a0f4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/dao/EngineerBusinessMPDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/OrderAppointmentMPDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/SkillInfoMPDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/EngineerBusinessMPDao.java
View file @
9f72d0f
...
@@ -3,7 +3,11 @@ package com.dituhui.pea.order.dao;
...
@@ -3,7 +3,11 @@ package com.dituhui.pea.order.dao;
import
com.dituhui.pea.order.entity.EngineerBusiness
;
import
com.dituhui.pea.order.entity.EngineerBusiness
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Select
;
@Mapper
@Mapper
public
interface
EngineerBusinessMPDao
extends
BaseMapper
<
EngineerBusiness
>
{
public
interface
EngineerBusinessMPDao
extends
BaseMapper
<
EngineerBusiness
>
{
@Select
(
"select * from engineer_business where engineer_code=#{engineerCode}"
)
EngineerBusiness
getByEngineerCode
(
String
engineerCode
);
}
}
project-order/src/main/java/com/dituhui/pea/order/dao/OrderAppointmentMPDao.java
View file @
9f72d0f
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Select
;
import
org.apache.ibatis.annotations.Select
;
import
java.time.LocalDate
;
import
java.util.List
;
import
java.util.List
;
@Mapper
@Mapper
...
@@ -15,4 +16,7 @@ public interface OrderAppointmentMPDao extends BaseMapper<OrderAppointment> {
...
@@ -15,4 +16,7 @@ public interface OrderAppointmentMPDao extends BaseMapper<OrderAppointment> {
@Select
(
"select * from order_appointment where order_id=#{orderId}"
)
@Select
(
"select * from order_appointment where order_id=#{orderId}"
)
List
<
OrderAppointment
>
selectByOrderId
(
String
orderId
);
List
<
OrderAppointment
>
selectByOrderId
(
String
orderId
);
@Select
(
"select * from order_appointment where engineer_code=#{engineerCode} and dt=#{dt}"
)
List
<
OrderAppointment
>
selectByEngineerCodeAndDt
(
String
engineerCode
,
LocalDate
dt
);
}
}
project-order/src/main/java/com/dituhui/pea/order/dao/SkillInfoMPDao.java
View file @
9f72d0f
...
@@ -3,7 +3,11 @@ package com.dituhui.pea.order.dao;
...
@@ -3,7 +3,11 @@ package com.dituhui.pea.order.dao;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.dituhui.pea.order.entity.SkillInfo
;
import
com.dituhui.pea.order.entity.SkillInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Select
;
@Mapper
@Mapper
public
interface
SkillInfoMPDao
extends
BaseMapper
<
SkillInfo
>
{
public
interface
SkillInfoMPDao
extends
BaseMapper
<
SkillInfo
>
{
@Select
(
"select * from skill_info where brand=#{brand} and type=#{type} and skill=#{skill}"
)
SkillInfo
getByBrandAndTypeAndSkill
(
String
brand
,
String
type
,
String
skill
);
}
}
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