|
@@ -154,6 +154,9 @@ public class SampleServiceImpl extends ServiceImpl<SampleMapper, Sample> impleme
|
|
|
if (StringUtils.isNotEmpty(dto.getStatus())) {
|
|
|
wrapper.eq("t1", Sample::getStatus, dto.getStatus());
|
|
|
}
|
|
|
+ if (StringUtils.isNotEmpty(dto.getUserId())) {
|
|
|
+ wrapper.eq("t1", Sample::getCreateUser, dto.getUserId());
|
|
|
+ }
|
|
|
if (StringUtils.isNotEmpty(dto.getKeyword())) {
|
|
|
List<Long> customerIds = customerService.listObject(Customer::getId, q -> q.like(Customer::getName, dto.getKeyword()));
|
|
|
wrapper.and(q -> q
|