|
|
@ -78,6 +78,7 @@ public class PowerAxisTagServiceImpl extends BaseServiceImpl<PowerAxisTagDao, Po |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public void save(PowerAxisTagDTO dto) { |
|
|
|
PowerAxisTagEntity entity = ConvertUtils.sourceToTarget(dto, PowerAxisTagEntity.class); |
|
|
|
entity.setCustomerId(loginUserUtil.getLoginUserCustomerId()); |
|
|
|
insert(entity); |
|
|
|
} |
|
|
|
|
|
|
@ -85,6 +86,7 @@ public class PowerAxisTagServiceImpl extends BaseServiceImpl<PowerAxisTagDao, Po |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public void update(PowerAxisTagDTO dto) { |
|
|
|
PowerAxisTagEntity entity = ConvertUtils.sourceToTarget(dto, PowerAxisTagEntity.class); |
|
|
|
entity.setCustomerId(loginUserUtil.getLoginUserCustomerId()); |
|
|
|
updateById(entity); |
|
|
|
} |
|
|
|
|
|
|
|