1 package gboat2.example.business.impl; 2 3 import java.util.List; 4 5 import gboat2.base.core.logging.IBusinessLogService; 6 import gboat2.base.core.service.BaseService; 7 import gboat2.example.business.IExampleUserBusiness; 8 import gboat2.web.business.IRoleBusiness; 9 import gboat2.web.service.IPreferenceConfigService; 10 11 import org.springframework.beans.factory.annotation.Autowired; 12 import org.springframework.stereotype.Service; 13 14 @Service 15 public class ExampleUserBusinessImpl extends BaseService implements IExampleUserBusiness { 16 17 @Autowired 18 protected IPreferenceConfigService preferenceConfigService; 19 20 @Override 21 public String deleteByLoginId() { 22 System.out.println("产品 Bundle 中: ExampleUserBusinessImpl.deleteByLoginId()"); 23 return "true"; 24 } 25 26 @Override 27 public boolean modifyPassword() { 28 System.out.println("产品 Bundle 中: ExampleUserBusinessImpl.modifyPassword()"); 29 return false; 30 } 31 32 @Override 33 public List<String> getBelonRoleNames() { 34 System.out.println("产品 Bundle 中: preferenceConfigService=" + preferenceConfigService); 35 return null; 36 } 37 38 }