|
@@ -3,6 +3,7 @@ package org.jeecg.modules.customColumns.service.impl;
|
|
|
import org.jeecg.modules.customColumns.entity.CustomColumns;
|
|
|
import org.jeecg.modules.customColumns.mapper.CustomColumnsMapper;
|
|
|
import org.jeecg.modules.customColumns.service.ICustomColumnsService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
@@ -16,4 +17,13 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
@Service
|
|
|
public class CustomColumnsServiceImpl extends ServiceImpl<CustomColumnsMapper, CustomColumns> implements ICustomColumnsService {
|
|
|
|
|
|
+ @Autowired
|
|
|
+ @SuppressWarnings("all")
|
|
|
+ private CustomColumnsMapper customColumnsMapper;
|
|
|
+
|
|
|
+ /**根据用户账号查询该用户自定义列记录*/
|
|
|
+ public CustomColumns selectByUserName(String userName){
|
|
|
+ return customColumnsMapper.selectByUserName(userName);
|
|
|
+ }
|
|
|
+
|
|
|
}
|