Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Administrator
dsk-cr20g
Commits
af903d1b
Commit
af903d1b
authored
Jul 10, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev20230707' of
http://192.168.60.201/root/dsk-operate-sys
into dev20230707
parents
555b35cf
86f83368
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
321 additions
and
3 deletions
+321
-3
CustomerController.java
...a/com/dsk/web/controller/customer/CustomerController.java
+30
-0
index.vue
dsk-operate-ui/src/views/radar/components/Bidding/index.vue
+234
-2
CustomerSearchDto.java
...com/dsk/system/domain/customer/dto/CustomerSearchDto.java
+4
-0
CustomerUserMapper.java
...c/main/java/com/dsk/system/mapper/CustomerUserMapper.java
+4
-0
ICustomerService.java
...rc/main/java/com/dsk/system/service/ICustomerService.java
+6
-0
CustomerServiceImpl.java
...java/com/dsk/system/service/impl/CustomerServiceImpl.java
+35
-0
CustomerMapper.xml
.../main/resources/mapper/system/customer/CustomerMapper.xml
+1
-1
CustomerUserMapper.xml
...n/resources/mapper/system/customer/CustomerUserMapper.xml
+7
-0
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/customer/CustomerController.java
View file @
af903d1b
...
@@ -125,6 +125,8 @@ public class CustomerController extends BaseController {
...
@@ -125,6 +125,8 @@ public class CustomerController extends BaseController {
}
}
}
}
/**
/**
* 编辑客户
* 编辑客户
*/
*/
...
@@ -190,4 +192,32 @@ public class CustomerController extends BaseController {
...
@@ -190,4 +192,32 @@ public class CustomerController extends BaseController {
success
.
put
(
"successCount"
,
successCount
);
success
.
put
(
"successCount"
,
successCount
);
return
success
;
return
success
;
}
}
/**
* 客户状态
*/
@GetMapping
(
"/status/{customerId}"
)
@RepeatSubmit
public
AjaxResult
status
(
@PathVariable
String
companyName
)
{
return
AjaxResult
.
success
(
baseService
.
status
(
companyName
));
}
/**
* 取消认领
*/
@PutMapping
(
"/cancelClaim/{customerId}"
)
@RepeatSubmit
public
AjaxResult
cancelClaim
(
@PathVariable
String
customerId
)
{
return
toAjax
(
baseService
.
cancelClaim
(
customerId
));
}
/**
* 历史认领
*/
@PutMapping
(
"/historyClaim/{customerId}"
)
@RepeatSubmit
public
AjaxResult
historyClaim
(
@PathVariable
String
customerId
)
{
return
toAjax
(
baseService
.
historyClaim
(
customerId
));
}
}
}
dsk-operate-ui/src/views/radar/components/Bidding/index.vue
View file @
af903d1b
...
@@ -137,7 +137,39 @@
...
@@ -137,7 +137,39 @@
</el-dropdown-item>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
<el-dropdown
@
command=
"PlanTenderDatehandleCommand"
trigger=
"click"
placement=
"bottom-start"
class=
"el-dropdown-land"
ref=
"PlanTenderDateShowPopper"
:hide-on-click=
"false"
>
<span
class=
"el-dropdown-link"
:class=
"PlanTenderDateValue ? 'color_text' : ''"
>
计划招标时间
{{
PlanTenderDateValue
?
" 1项"
:
""
}}
<i
class=
"el-icon-caret-bottom"
></i>
</span>
<div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-for=
"(item, i) in PlanTenderDateOptions"
class=
"el-dropdown-land"
:class=
" PlanTenderDateValue && PlanTenderDateValue == item.value ? 'color_text': '' "
:key=
"i"
:command=
"item.value"
>
<div
@
mouseenter=
"hidePoper1"
>
{{
item
.
label
}}
</div>
</el-dropdown-item>
<el-dropdown-item
command=
"自定义"
style=
"padding: 0; text-indent: 20px"
>
<div
@
mouseenter=
"mouseenter1"
>
<span
:class=
"PlanTenderDateValue == '自定义' ? 'color_text' : ''"
>
自定义
<i
class=
"el-icon-arrow-right"
></i>
</span>
<el-date-picker
v-if=
"PlanTenderDateShowPopper"
@
change=
"changePlanTenderDate"
class=
"land_date_picker"
v-model=
"PlanTenderDate"
ref=
"datePicker1"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</div>
</el-dropdown-item>
</el-dropdown-menu>
</div>
</el-dropdown>
<div
class=
"select-popper"
>
<div
class=
"select-popper"
>
<span
:class=
"
{ color_text: jskBidPlanDto.projectCapitalSource.length }">
<span
:class=
"
{ color_text: jskBidPlanDto.projectCapitalSource.length }">
资金来源
{{
jskBidPlanDto
.
projectCapitalSource
.
length
?
jskBidPlanDto
.
projectCapitalSource
.
length
+
"项"
:
""
}}
资金来源
{{
jskBidPlanDto
.
projectCapitalSource
.
length
?
jskBidPlanDto
.
projectCapitalSource
.
length
+
"项"
:
""
}}
...
@@ -317,6 +349,43 @@ export default {
...
@@ -317,6 +349,43 @@ export default {
IssueTimeValue
:
""
,
IssueTimeValue
:
""
,
IssueTime
:
""
,
IssueTime
:
""
,
IssueTimeShowPopper
:
false
,
IssueTimeShowPopper
:
false
,
PlanTenderDateOptions
:
[
{
label
:
"不限"
,
value
:
""
,
},
{
label
:
"今天"
,
value
:
"今天"
,
},
{
label
:
"近3日"
,
value
:
"近3日"
,
},
{
label
:
"近7日"
,
value
:
"近7日"
,
},
{
label
:
"近1个月"
,
value
:
"近1个月"
,
},
{
label
:
"近3个月"
,
value
:
"近3个月"
,
},
{
label
:
"近半年"
,
value
:
"近半年"
,
},
{
label
:
"近1年"
,
value
:
"近1年"
,
},
],
PlanTenderDateValue
:
""
,
PlanTenderDate
:
""
,
PlanTenderDateShowPopper
:
false
,
addressList
:
[],
addressList
:
[],
addressType
:
[],
addressType
:
[],
...
@@ -370,6 +439,8 @@ export default {
...
@@ -370,6 +439,8 @@ export default {
projectCapitalSource
:[],
projectCapitalSource
:[],
startIssueTime
:
''
,
startIssueTime
:
''
,
endIssueTime
:
''
,
endIssueTime
:
''
,
startPlanTenderDate
:
''
,
endPlanTenderDate
:
''
,
},
},
planTenderAmountShowPopper
:
false
,
planTenderAmountShowPopper
:
false
,
...
@@ -528,7 +599,6 @@ export default {
...
@@ -528,7 +599,6 @@ export default {
delete
params
.
keywordNot
delete
params
.
keywordNot
}
}
api
.
jskBidPlanPage
(
params
).
then
(
res
=>
{
api
.
jskBidPlanPage
(
params
).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
list
;
this
.
tableData
=
res
.
data
.
list
;
this
.
total
=
res
.
data
.
total
;
this
.
total
=
res
.
data
.
total
;
...
@@ -661,6 +731,114 @@ export default {
...
@@ -661,6 +731,114 @@ export default {
}
}
this
.
jskBidPlanDto
=
obj
;
this
.
jskBidPlanDto
=
obj
;
},
},
PlanTenderDatehandleCommand
(
command
)
{
var
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
jskBidPlanDto
));
if
(
command
&&
command
!=
"自定义"
)
{
this
.
PlanTenderDateValue
=
command
;
this
.
$refs
.
PlanTenderDateShowPopper
.
hide
();
const
datetime
=
new
Date
();
var
startTime
,
endTime
,
Year
,
Month
,
Day
;
Year
=
datetime
.
getFullYear
();
Month
=
datetime
.
getMonth
()
+
1
;
Day
=
datetime
.
getDate
();
switch
(
command
)
{
case
"今天"
:
startTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
endTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
break
;
case
"近3日"
:
endTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
if
(
Day
>
3
)
{
startTime
=
Year
+
"-"
+
Month
+
"-"
+
(
Day
-
3
);
}
else
{
let
newTime
=
datetime
.
getTime
()
-
3
*
24
*
60
*
60
*
1000
Year
=
new
Date
(
newTime
).
getFullYear
();
Month
=
new
Date
(
newTime
).
getMonth
()
+
1
;
Day
=
new
Date
(
newTime
).
getDate
();
startTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
}
break
;
case
"近7日"
:
endTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
if
(
Day
>
7
)
{
startTime
=
Year
+
"-"
+
Month
+
"-"
+
(
Day
-
7
);
}
else
{
let
newTime
=
datetime
.
getTime
()
-
7
*
24
*
60
*
60
*
1000
Year
=
new
Date
(
newTime
).
getFullYear
();
Month
=
new
Date
(
newTime
).
getMonth
()
+
1
;
Day
=
new
Date
(
newTime
).
getDate
();
startTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
}
break
;
case
"近1个月"
:
endTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
if
(
Month
>
1
)
{
startTime
=
Year
+
"-"
+
(
Month
-
1
)
+
"-1"
;
}
else
{
startTime
=
Year
-
1
+
"-"
+
(
12
+
Month
-
1
)
+
"-1"
;
}
break
;
case
"近3个月"
:
endTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
if
(
Month
>
3
)
{
startTime
=
Year
+
"-"
+
(
Month
-
3
)
+
"-1"
;
}
else
{
startTime
=
Year
-
1
+
"-"
+
(
12
+
Month
-
3
)
+
"-1"
;
}
break
;
case
"近半年"
:
endTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
if
(
Month
>
6
)
{
startTime
=
Year
+
"-"
+
(
Month
-
6
)
+
"-1"
;
}
else
{
startTime
=
Year
-
1
+
"-"
+
(
12
+
Month
-
6
)
+
"-1"
;
}
break
;
case
"近1年"
:
startTime
=
Year
-
1
+
"-"
+
Month
+
"-"
+
Day
;
endTime
=
Year
+
"-"
+
Month
+
"-"
+
Day
;
break
;
case
"自定义"
:
if
(
!
this
.
PlanTenderDate
)
{
this
.
PlanTenderDateValue
=
""
;
}
break
;
}
if
(
startTime
){
var
start
=
startTime
.
split
(
'-'
);
startTime
=
start
.
map
((
item
)
=>
{
if
(
item
.
length
==
1
){
return
'0'
+
item
}
else
{
return
item
}
})
startTime
=
startTime
.
join
(
'-'
)
}
if
(
endTime
){
var
end
=
endTime
.
split
(
'-'
);
endTime
=
end
.
map
((
item
)
=>
{
if
(
item
.
length
==
1
){
return
'0'
+
item
}
else
{
return
item
}
})
endTime
=
endTime
.
join
(
'-'
)
}
obj
.
startPlanTenderDate
=
startTime
;
obj
.
endPlanTenderDate
=
endTime
;
}
else
if
(
command
==
"自定义"
)
{
this
.
$refs
.
datePicker1
.
pickerVisible
=
true
;
}
else
{
this
.
$refs
.
PlanTenderDateShowPopper
.
hide
();
this
.
PlanTenderDateValue
=
""
;
this
.
PlanTenderDate
=
""
;
obj
.
startPlanTenderDate
=
""
;
obj
.
endPlanTenderDate
=
""
;
}
this
.
jskBidPlanDto
=
obj
;
},
changeIssueTime
(
type
)
{
changeIssueTime
(
type
)
{
if
(
type
==
'bid'
&&
this
.
tenderDate
){
if
(
type
==
'bid'
&&
this
.
tenderDate
){
this
.
tenderDateValue
=
"自定义"
;
this
.
tenderDateValue
=
"自定义"
;
...
@@ -676,6 +854,21 @@ export default {
...
@@ -676,6 +854,21 @@ export default {
this
.
jskBidPlanDto
=
obj
;
this
.
jskBidPlanDto
=
obj
;
}
}
},
},
changePlanTenderDate
(
type
)
{
if
(
type
==
'bid'
&&
this
.
tenderDate
){
this
.
tenderDateValue
=
"自定义"
;
var
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
jskBidPlanDto
));
obj
.
startTenderTime
=
this
.
tenderDate
[
0
];
obj
.
endTenderTime
=
this
.
tenderDate
[
1
];
this
.
jskBidPlanDto
=
obj
;
}
else
if
(
this
.
PlanTenderDate
)
{
this
.
PlanTenderDateValue
=
"自定义"
;
var
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
jskBidPlanDto
));
obj
.
startPlanTenderDate
=
this
.
PlanTenderDate
[
0
];
obj
.
endPlanTenderDate
=
this
.
PlanTenderDate
[
1
];
this
.
jskBidPlanDto
=
obj
;
}
},
hidePoper
(
type
)
{
hidePoper
(
type
)
{
if
(
type
==
'bid'
&&
this
.
$refs
.
tenderDatePicker
){
if
(
type
==
'bid'
&&
this
.
$refs
.
tenderDatePicker
){
this
.
$refs
.
tenderDatePicker
.
pickerVisible
=
false
;
this
.
$refs
.
tenderDatePicker
.
pickerVisible
=
false
;
...
@@ -683,6 +876,13 @@ export default {
...
@@ -683,6 +876,13 @@ export default {
this
.
$refs
.
datePicker
.
pickerVisible
=
false
;
this
.
$refs
.
datePicker
.
pickerVisible
=
false
;
}
}
},
},
hidePoper1
(
type
)
{
if
(
type
==
'bid'
&&
this
.
$refs
.
tenderDatePicker
){
this
.
$refs
.
tenderDatePicker
.
pickerVisible
=
false
;
}
else
if
(
this
.
$refs
.
datePicker1
){
this
.
$refs
.
datePicker1
.
pickerVisible
=
false
;
}
},
mouseenter
(
type
)
{
mouseenter
(
type
)
{
if
(
type
==
'bid'
){
if
(
type
==
'bid'
){
this
.
tenderDateShowPopper
=
true
;
this
.
tenderDateShowPopper
=
true
;
...
@@ -700,6 +900,23 @@ export default {
...
@@ -700,6 +900,23 @@ export default {
}
}
}
}
},
},
mouseenter1
(
type
)
{
if
(
type
==
'bid'
){
this
.
tenderDateShowPopper
=
true
;
if
(
this
.
tenderDateValue
==
"自定义"
){
this
.
$nextTick
(()
=>
{
this
.
$refs
.
tenderDatePicker
.
pickerVisible
=
true
;
});
}
}
else
{
this
.
PlanTenderDateShowPopper
=
true
;
if
(
this
.
PlanTenderDateValue
==
"自定义"
){
this
.
$nextTick
(()
=>
{
this
.
$refs
.
datePicker1
.
pickerVisible
=
true
;
});
}
}
},
clearIssueTime
(
type
)
{
clearIssueTime
(
type
)
{
var
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
jskBidPlanDto
));
var
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
jskBidPlanDto
));
if
(
type
==
'bid'
){
if
(
type
==
'bid'
){
...
@@ -715,6 +932,21 @@ export default {
...
@@ -715,6 +932,21 @@ export default {
}
}
this
.
jskBidPlanDto
=
obj
;
this
.
jskBidPlanDto
=
obj
;
},
},
clearPlanTenderDate
(
type
)
{
var
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
jskBidPlanDto
));
if
(
type
==
'bid'
){
this
.
tenderDate
=
""
;
this
.
tenderDateValue
=
""
;
obj
.
startTenderTime
=
""
;
obj
.
endTenderTime
=
""
;
}
else
{
this
.
PlanTenderDate
=
""
;
this
.
PlanTenderDateValue
=
""
;
obj
.
startPlanTenderDate
=
""
;
obj
.
endPlanTenderDate
=
""
;
}
this
.
jskBidPlanDto
=
obj
;
},
deleteDomicile
()
{
deleteDomicile
()
{
this
.
$refs
.
address
.
handleClear
();
this
.
$refs
.
address
.
handleClear
();
},
},
...
...
dsk-system/src/main/java/com/dsk/system/domain/customer/dto/CustomerSearchDto.java
View file @
af903d1b
...
@@ -18,5 +18,9 @@ public class CustomerSearchDto implements Serializable {
...
@@ -18,5 +18,9 @@ public class CustomerSearchDto implements Serializable {
* 用户id
* 用户id
*/
*/
private
Long
userId
;
private
Long
userId
;
/**
* 客户状态 0:正常 1:历史
*/
private
Integer
status
;
}
}
dsk-system/src/main/java/com/dsk/system/mapper/CustomerUserMapper.java
View file @
af903d1b
...
@@ -3,6 +3,8 @@ package com.dsk.system.mapper;
...
@@ -3,6 +3,8 @@ package com.dsk.system.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.dsk.system.domain.customer.CustomerUser
;
import
com.dsk.system.domain.customer.CustomerUser
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
/**
...
@@ -14,5 +16,7 @@ import org.apache.ibatis.annotations.Mapper;
...
@@ -14,5 +16,7 @@ import org.apache.ibatis.annotations.Mapper;
@Mapper
@Mapper
public
interface
CustomerUserMapper
extends
BaseMapper
<
CustomerUser
>
{
public
interface
CustomerUserMapper
extends
BaseMapper
<
CustomerUser
>
{
CustomerUser
selectByCustomerIdAndUserId
(
@Param
(
"customerId"
)
String
customerId
,
@Param
(
"userId"
)
Long
userId
);
}
}
dsk-system/src/main/java/com/dsk/system/service/ICustomerService.java
View file @
af903d1b
...
@@ -31,4 +31,10 @@ public interface ICustomerService {
...
@@ -31,4 +31,10 @@ public interface ICustomerService {
List
<
String
>
selectUipIdList
(
List
<
String
>
uipIds
);
List
<
String
>
selectUipIdList
(
List
<
String
>
uipIds
);
Integer
status
(
String
companyName
);
boolean
cancelClaim
(
String
customerId
);
boolean
historyClaim
(
String
customerId
);
}
}
dsk-system/src/main/java/com/dsk/system/service/impl/CustomerServiceImpl.java
View file @
af903d1b
...
@@ -48,6 +48,7 @@ public class CustomerServiceImpl implements ICustomerService {
...
@@ -48,6 +48,7 @@ public class CustomerServiceImpl implements ICustomerService {
@Override
@Override
public
List
<
CustomerListVo
>
selectList
(
CustomerSearchDto
dto
)
{
public
List
<
CustomerListVo
>
selectList
(
CustomerSearchDto
dto
)
{
dto
.
setUserId
(
SecurityUtils
.
getUserId
());
dto
.
setUserId
(
SecurityUtils
.
getUserId
());
dto
.
setStatus
(
ObjectUtils
.
isEmpty
(
dto
.
getStatus
())
?
0
:
dto
.
getStatus
());
return
baseMapper
.
selectList
(
dto
);
return
baseMapper
.
selectList
(
dto
);
}
}
...
@@ -124,4 +125,38 @@ public class CustomerServiceImpl implements ICustomerService {
...
@@ -124,4 +125,38 @@ public class CustomerServiceImpl implements ICustomerService {
return
baseMapper
.
selectUipIdList
(
uipIds
,
SecurityUtils
.
getUserId
());
return
baseMapper
.
selectUipIdList
(
uipIds
,
SecurityUtils
.
getUserId
());
}
}
@Override
public
Integer
status
(
String
companyName
)
{
Customer
cus
=
baseMapper
.
selectByCompanyNameAndUserId
(
companyName
,
SecurityUtils
.
getUserId
());
if
(
ObjectUtils
.
isEmpty
(
cus
))
{
return
null
;
}
CustomerUser
customerUser
=
customerUserMapper
.
selectByCustomerIdAndUserId
(
cus
.
getCustomerId
(),
SecurityUtils
.
getUserId
());
if
(
ObjectUtils
.
isEmpty
(
customerUser
))
{
throw
new
ServiceException
(
"数据错误!"
);
}
return
customerUser
.
getStatus
();
}
@Override
public
boolean
cancelClaim
(
String
customerId
)
{
return
updateClaimStatus
(
customerId
,
1
);
}
@Override
public
boolean
historyClaim
(
String
customerId
)
{
return
updateClaimStatus
(
customerId
,
0
);
}
//修改客户认领状态
private
boolean
updateClaimStatus
(
String
customerId
,
Integer
status
)
{
CustomerUser
customerUser
=
customerUserMapper
.
selectByCustomerIdAndUserId
(
customerId
,
SecurityUtils
.
getUserId
());
if
(
ObjectUtils
.
isEmpty
(
customerUser
))
{
throw
new
ServiceException
(
"数据错误!"
);
}
customerUser
.
setStatus
(
status
);
return
customerUserMapper
.
updateById
(
customerUser
)
==
1
;
}
}
}
dsk-system/src/main/resources/mapper/system/customer/CustomerMapper.xml
View file @
af903d1b
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
left join (
left join (
select count(status) num,customer_id from business_info where `status` = 2 group by customer_id
select count(status) num,customer_id from business_info where `status` = 2 group by customer_id
) bi3 on bi3.customer_id = ct.customer_id
) bi3 on bi3.customer_id = ct.customer_id
where ctu.user_id = #{dto.userId}
where ctu.user_id = #{dto.userId}
and ctu.status = #{dto.status}
<if
test=
"dto.companyName != null and dto.companyName != '' "
>
and ct.company_name like concat('%',#{dto.companyName},'%')
</if>
<if
test=
"dto.companyName != null and dto.companyName != '' "
>
and ct.company_name like concat('%',#{dto.companyName},'%')
</if>
order by ct.create_time desc
order by ct.create_time desc
</select>
</select>
...
...
dsk-system/src/main/resources/mapper/system/customer/CustomerUserMapper.xml
View file @
af903d1b
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.dsk.system.mapper.CustomerUserMapper"
>
<mapper
namespace=
"com.dsk.system.mapper.CustomerUserMapper"
>
<select
id=
"selectByCustomerIdAndUserId"
resultType=
"com.dsk.system.domain.customer.CustomerUser"
>
select
id, customer_id, user_id, status, create_time, update_time
from customer_user
where customer_id = #{customerId} and user_id = #{userId}
</select>
</mapper>
</mapper>
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