Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -167,7 +167,7 @@ public class BalanceConsumer {
|
|||||||
|
|
||||||
|
|
||||||
public static String convertDate(Date date){
|
public static String convertDate(Date date){
|
||||||
SimpleDateFormat sdf4 = new SimpleDateFormat("yyyy年MM月dd号 HH:mm:ss");
|
SimpleDateFormat sdf4 = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
|
||||||
return sdf4.format(new Date());
|
return sdf4.format(new Date());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ import org.springframework.stereotype.Component;
|
|||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
import java.util.concurrent.ConcurrentMap;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
import java.util.concurrent.atomic.AtomicReference;
|
import java.util.concurrent.atomic.AtomicReference;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
@@ -292,7 +294,6 @@ public class PrintMechineConsumer {
|
|||||||
|
|
||||||
log.info("获取当前类别是否未打印类别:{}", count);
|
log.info("获取当前类别是否未打印类别:{}", count);
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
|
|
||||||
// 统计已打数量
|
// 统计已打数量
|
||||||
int printerNum = 0;
|
int printerNum = 0;
|
||||||
boolean isReturn = false;
|
boolean isReturn = false;
|
||||||
|
|||||||
@@ -88,6 +88,10 @@ public class MemberService {
|
|||||||
public Result queryMember(String shopId, String phone,String isFlag, int page, int pageSize) {
|
public Result queryMember(String shopId, String phone,String isFlag, int page, int pageSize) {
|
||||||
|
|
||||||
PageHelperUtil.startPage(page, pageSize);
|
PageHelperUtil.startPage(page, pageSize);
|
||||||
|
|
||||||
|
if(!"1".equals(isFlag)){
|
||||||
|
isFlag=null;
|
||||||
|
}
|
||||||
List<TbShopUser> tbShopUsers = tbShopUserMapper.selectByShopId(shopId, phone,isFlag);
|
List<TbShopUser> tbShopUsers = tbShopUserMapper.selectByShopId(shopId, phone,isFlag);
|
||||||
PageInfo pageInfo = new PageInfo(tbShopUsers);
|
PageInfo pageInfo = new PageInfo(tbShopUsers);
|
||||||
return Result.success(CodeEnum.SUCCESS, pageInfo);
|
return Result.success(CodeEnum.SUCCESS, pageInfo);
|
||||||
|
|||||||
@@ -12,9 +12,6 @@ spring:
|
|||||||
minIdle: 5
|
minIdle: 5
|
||||||
maxActive: 20
|
maxActive: 20
|
||||||
maxWait: 60000
|
maxWait: 60000
|
||||||
logging:
|
|
||||||
level:
|
|
||||||
com.chaozhanggui.system.openness: info
|
|
||||||
redis:
|
redis:
|
||||||
# redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突
|
# redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突
|
||||||
database: 0
|
database: 0
|
||||||
@@ -52,6 +49,7 @@ mybatis:
|
|||||||
map-underscore-to-camel-case: true
|
map-underscore-to-camel-case: true
|
||||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||||
mapper-locations: classpath:mapper/*.xml
|
mapper-locations: classpath:mapper/*.xml
|
||||||
|
|
||||||
subscribe:
|
subscribe:
|
||||||
message:
|
message:
|
||||||
miniprogramState: trial
|
miniprogramState: trial
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ logging:
|
|||||||
# web日志
|
# web日志
|
||||||
org.springframework.web: debug
|
org.springframework.web: debug
|
||||||
# mybatis日志
|
# mybatis日志
|
||||||
org.mybatis: debug
|
mybits: DEBUG
|
||||||
|
org.apache.ibatis: DEBUG
|
||||||
charset:
|
charset:
|
||||||
# 输出控制台编码
|
# 输出控制台编码
|
||||||
console: UTF-8
|
console: UTF-8
|
||||||
|
|||||||
@@ -372,7 +372,7 @@
|
|||||||
and telephone like concat("%",#{phone},"%")
|
and telephone like concat("%",#{phone},"%")
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="isFlag != null and isFlag ='1' ">
|
<if test="isFlag != null ">
|
||||||
and amount > 0
|
and amount > 0
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user