bug
This commit is contained in:
parent
10c9f26589
commit
d024f8b8d7
@ -136,8 +136,10 @@ public class TagCodeRecordServiceImpl extends ServiceImpl<TagCodeRecordMapper, T
|
|||||||
//绑定员工
|
//绑定员工
|
||||||
if (ObjectUtils.isNotEmpty(tagCodeRecordDTO) && ObjectUtils.isNotEmpty(tagCodeRecordDTO.getStaffId())){
|
if (ObjectUtils.isNotEmpty(tagCodeRecordDTO) && ObjectUtils.isNotEmpty(tagCodeRecordDTO.getStaffId())){
|
||||||
LJStaff ljStaff = mtStaffService.selectStaffById(Integer.parseInt(tagCodeRecordDTO.getStaffId()));
|
LJStaff ljStaff = mtStaffService.selectStaffById(Integer.parseInt(tagCodeRecordDTO.getStaffId()));
|
||||||
//String tagCodeSn = oilTag1.getTagCodeSn();
|
String staffCode = ljStaff.getStaffCode();
|
||||||
ljStaff.setStaffCode("https://www.tuofeng.cc/oilStation"+"?storeId="+tagCodeRecordDTO.getStoreId()+"&staffId="+tagCodeRecordDTO.getStaffId());
|
String tagCodeSn = oilTag1.getTagCodeSn();
|
||||||
|
staffCode += "&sn="+tagCodeSn;
|
||||||
|
ljStaff.setStaffCode(staffCode);
|
||||||
mtStaffService.updateStaff(ljStaff);
|
mtStaffService.updateStaff(ljStaff);
|
||||||
|
|
||||||
tagCodeRecord.setStaffId(tagCodeRecordDTO.getStaffId());
|
tagCodeRecord.setStaffId(tagCodeRecordDTO.getStaffId());
|
||||||
|
Loading…
Reference in New Issue
Block a user