@ -8,7 +8,7 @@ package com.foreverwin.mesnac.common.constant;
*/
public interface Constants {
String OP_6106GX = "6106GX";
String OP_6106GX = "WX_6106GX";
String STATUS_NEW = "NEW";
String STATE_CONFIRM ="CONF";
@ -33,7 +33,7 @@ ftp:
#打印服务器配置
print:
server: http://172.16.251.188:8022/print/mesnacprint
server: http://10.10.170.32:8022/print/mesnacprint
activeMq:
sendWeChatMessage: tcp://localhost:61616?wireFormat.maxInactivityDuration=0
@ -76,7 +76,7 @@ public class AccessoryLogServiceImpl extends ServiceImpl<AccessoryLogMapper, Acc
queryWrapper.eq(ItemBatch.LABEL,label);
List<ItemBatch> list = itemBatchService.list(queryWrapper);
if (qty.compareTo(BigDecimal.ZERO)<=0){
throw new BaseException("数量不能小于零");
throw new BaseException("使用数量不能小于零");
}
if (list.isEmpty()){
throw new BaseException("标签不存在");