修复mapper.xml中expr_type字段带的空格
ServiceConfigInfo添加列表查询 IP,字符串,增强字符串配置修复创建时间创建人在更新的时候覆盖的bug
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.nis.web.dao.systemService;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import com.nis.domain.ServiceConfigInfo;
|
||||
@@ -8,4 +10,5 @@ import com.nis.web.dao.MyBatisDao;
|
||||
@MyBatisDao
|
||||
public interface ServiceConfigInfoDao extends CrudDao<ServiceConfigInfo>{
|
||||
public ServiceConfigInfo findSysServiceConfigInfo(@Param("service_id")int serviceId);
|
||||
public List<ServiceConfigInfo> findList(@Param("service_id")int serviceId);
|
||||
}
|
||||
|
||||
@@ -26,6 +26,20 @@
|
||||
where
|
||||
service_id=#{service_id} and is_valid=1
|
||||
</select>
|
||||
<select id="findList" resultMap="serviceConfigInfo">
|
||||
select
|
||||
id,
|
||||
table_name,
|
||||
table_desc,
|
||||
table_type,
|
||||
maat_table,
|
||||
service_id,
|
||||
is_valid
|
||||
from
|
||||
service_config_info
|
||||
where
|
||||
service_id=#{service_id} and is_valid=1
|
||||
</select>
|
||||
|
||||
<insert id="insert">
|
||||
insert into service_config_info (
|
||||
|
||||
Reference in New Issue
Block a user