打印数据为空
This commit is contained in:
@@ -186,7 +186,7 @@ public class PrintConfig implements ApplicationRunner {
|
||||
* @param printTypeEnum IN_STOCK DAY_REPORT PRODUCT_REPORT RECHARGE STOCK_CHECK
|
||||
*/
|
||||
public void otherHandler(Long shopId, JSONObject data, JSONArray data1, PrinterHandler.PrintTypeEnum printTypeEnum) {
|
||||
if (shopId == null || Objects.isNull(data)) {
|
||||
if (shopId == null || (Objects.isNull(data) && Objects.isNull(data1))) {
|
||||
log.info("otherHandler 打印数据为空, shopId: {}, data: {}", shopId, data);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user