Merge branch 'master' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management
This commit is contained in:
commit
6104cbe47e
@ -68,6 +68,9 @@ public class EquipmentInfoReq implements java.io.Serializable {
|
||||
|
||||
private Long brandId;
|
||||
|
||||
//规格id
|
||||
private Long specsId;
|
||||
|
||||
private String gmtInStartTime;
|
||||
|
||||
private String gmtInEndTime;
|
||||
|
||||
@ -123,11 +123,12 @@ public class EquipmentInfoServiceImpl extends ServiceImpl<EquipmentInfoMapper, E
|
||||
if(info==null || (info!=null && info.getCount()<i)){
|
||||
log.info("change 第" + i + "次盘点");
|
||||
EquipmentInfo insert = new EquipmentInfo();
|
||||
BeanUtils.copyProperties(dto,insert);
|
||||
insert.setType(equipmentType.getType());
|
||||
insert.setBrandName(equipmentBrand.getBrand());
|
||||
insert.setSpecType(equipmentSpecs.getSpecs());
|
||||
insert.setEquipmentState(dto.getState());
|
||||
BeanUtils.copyProperties(dto,insert);
|
||||
insert.setSpecsId(dto.getSpecId());
|
||||
if(dto.isEmployee()){
|
||||
StaffEntity employeesInfo = staffService.selectStaffById(dto.getUserId());
|
||||
if(employeesInfo==null){
|
||||
@ -172,6 +173,9 @@ public class EquipmentInfoServiceImpl extends ServiceImpl<EquipmentInfoMapper, E
|
||||
}
|
||||
info.setType(equipmentType.getType());
|
||||
info.setBrandName(equipmentBrand.getBrand());
|
||||
info.setSpecsId(dto.getSpecId());
|
||||
info.setBrandId(dto.getBrandId());
|
||||
info.setTypeId(dto.getTypeId());
|
||||
info.setSpecType(equipmentSpecs.getSpecs());
|
||||
info.setQr(dto.getQr());
|
||||
info.setCode(dto.getCode());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user