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