Commit 346b7ef9 by zhengxj

finish 修复bug16915 on 20190315 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18558 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent b9b372a7
...@@ -101,7 +101,7 @@ public class OrganizationController extends BaseController{ ...@@ -101,7 +101,7 @@ public class OrganizationController extends BaseController{
@Log(menuName="系统管理-组织管理", operateType = Constants.SYS_LOG_OPERATE_TYPE_SAVE) @Log(menuName="系统管理-组织管理", operateType = Constants.SYS_LOG_OPERATE_TYPE_SAVE)
@RequestMapping(value = "/add", method = { RequestMethod.GET, RequestMethod.POST }) @RequestMapping(value = "/add", method = { RequestMethod.GET, RequestMethod.POST })
public ResultObject add( SysOrganization sysOrganization) { public ResultObject add( SysOrganization sysOrganization) {
Integer userId=ShiroUtil.getUserId();
sysOrganization.setCreateTime(new Date()); sysOrganization.setCreateTime(new Date());
sysOrganization.setCreateBy(ShiroUtil.getUsername()); sysOrganization.setCreateBy(ShiroUtil.getUsername());
if(sysOrganization.getOrgType()==null){ if(sysOrganization.getOrgType()==null){
......
...@@ -23,7 +23,7 @@ public interface ISysOrganizationService { ...@@ -23,7 +23,7 @@ public interface ISysOrganizationService {
ResultObject deleteByPrimaryKey(Integer id); ResultObject deleteByPrimaryKey(Integer id);
ResultObject insertSelective(SysOrganization record); ResultObject insertSelective(SysOrganization record,Integer userId);
List<SysOrganization> selectByExample(String orgName,Byte orgStatus , SysUser sysUser); List<SysOrganization> selectByExample(String orgName,Byte orgStatus , SysUser sysUser);
......
#spring.datasource.name=dev spring.datasource.name=dev
#spring.datasource.url=jdbc:mysql://14.17.100.222:3307/glsx_car_service spring.datasource.url=jdbc:mysql://14.17.100.222:3307/glsx_car_service
#spring.datasource.username=root
#spring.datasource.password=Msd^*$@online
spring.datasource.url=jdbc:mysql://192.168.0.39:3306/glsx_car_service
spring.datasource.username=root spring.datasource.username=root
spring.datasource.password=123456 spring.datasource.password=Msd^*$@online
#spring.datasource.url=jdbc:mysql://192.168.0.39:3306/glsx_car_service
#spring.datasource.username=root
#spring.datasource.password=123456
#spring.datasource.connectionProperties="config.decrypt=true;config.decrypt.key=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANj300lzSmW05DuzVoluFG6oza+WlEbv2aYCQA2+pkf0mE4p19UAcxfY/BweOyJ6TBNoY5XebPqoiav5lsKVD6sCAwEAAQ==" #spring.datasource.connectionProperties="config.decrypt=true;config.decrypt.key=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANj300lzSmW05DuzVoluFG6oza+WlEbv2aYCQA2+pkf0mE4p19UAcxfY/BweOyJ6TBNoY5XebPqoiav5lsKVD6sCAwEAAQ=="
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.driver-class-name=com.mysql.jdbc.Driver
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!