操作人 置空
This commit is contained in:
@@ -748,6 +748,8 @@ public abstract class PrinterHandler {
|
|||||||
ShopStaff detail = shopStaffService.getOne(new QueryWrapper().eq(ShopStaff::getId, orderInfo.getStaffId()).eq(ShopStaff::getShopId, orderInfo.getShopId()));
|
ShopStaff detail = shopStaffService.getOne(new QueryWrapper().eq(ShopStaff::getId, orderInfo.getStaffId()).eq(ShopStaff::getShopId, orderInfo.getShopId()));
|
||||||
if (detail != null) {
|
if (detail != null) {
|
||||||
printInfoDTO.setOperator(detail.getName());
|
printInfoDTO.setOperator(detail.getName());
|
||||||
|
} else {
|
||||||
|
printInfoDTO.setOperator("");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
printInfoDTO.setOperator("");
|
printInfoDTO.setOperator("");
|
||||||
|
|||||||
Reference in New Issue
Block a user