This commit is contained in:
huadengwu 2024-07-19 11:35:41 +08:00
parent 2a2ae2fe95
commit 73de77e2f1
2 changed files with 7 additions and 2 deletions

View File

@ -1664,8 +1664,10 @@ public class BillHeadServiceImpl extends BaseServiceImpl<BillHeadMapper, BillHea
item.setBillType(oldHead.getBillType()); item.setBillType(oldHead.getBillType());
//检查商品属性 //检查商品属性
this.checkItem(item); this.checkItem(item);
if(item.getIsDelete() != null && item.getIsDelete() == 0 && item.getAllPrice() != null){ if(item.getAllPrice() != null){
totalPrice = totalPrice.add(item.getAllPrice()); if(item.getIsDelete() == null || item.getIsDelete() == 0){
totalPrice = totalPrice.add(item.getAllPrice());
}
} }
totalNum = totalNum + item.getBasicNumber(); totalNum = totalNum + item.getBasicNumber();
} }

View File

@ -31,6 +31,9 @@ public class ShopUserVo implements Serializable {
@ApiModelProperty("是否为超级管理员0不是,1是") @ApiModelProperty("是否为超级管理员0不是,1是")
private Boolean isSuper; private Boolean isSuper;
@ApiModelProperty("是否为业务员0不是,1是")
private Integer isSales;
@ApiModelProperty("创建时间") @ApiModelProperty("创建时间")
private Date createTime; private Date createTime;