Browse Source

资质审核 更新

Signed-off-by: jiapeng.dong <jiapeng.dong@cloudcross.com>
jiapeng.dong 9 years ago
parent
commit
6b66cf52d5

+ 1 - 0
.settings/org.eclipse.core.resources.prefs

@@ -1,2 +1,3 @@
 eclipse.preferences.version=1
 encoding//src/main/webapp/assets/back/css/public-head.css=UTF-8
+encoding/<project>=UTF-8

+ 3 - 3
src/main/java/com/cloudcross/ssp/model/mapper/audit.sql.xml

@@ -25,7 +25,7 @@
 	
 	
 			
-	<select id="selectByParamsback"  parameterType="map" resultType="com.cloudcross.ssp.model.Audit">
+	<select id="selectByParamsBack"  parameterType="map" resultType="com.cloudcross.ssp.model.Audit">
 		select 
 		<include refid="base_column" />
 		,t_adv_agent.name as agentName,t_industry.name as industryName
@@ -81,7 +81,7 @@
 	
 	
 	
-	<select id="countByParamsback" parameterType="map" resultType="int">
+	<select id="countByParamsBack" parameterType="map" resultType="int">
 		select count(a.id)
 		from t_advertiser a,t_adv_agent b 
 		where b.id=a.agent_id 
@@ -138,7 +138,7 @@ from t_advertiser a,t_adv_agent b
 		limit #{pager.offset}, #{pager.limit}
 	</select>
  -->
-	<select id="selectByIdback" parameterType="int" resultType="com.cloudcross.ssp.model.Audit">
+	<select id="selectByIdBack" parameterType="int" resultType="com.cloudcross.ssp.model.Audit">
 		select 
 		<include refid="base_column" />
 		

+ 3 - 3
src/main/java/com/cloudcross/ssp/service/impl/AuditService.java

@@ -26,7 +26,7 @@ public class AuditService implements IAuditService{
 
 	@Override
 	public Audit findById(Long id) {
-		return myBatisDao.get("auditSqlMapper.selectById", id);
+		return myBatisDao.get("auditSqlMapper.selectByIdBack", id);
 	}
 
 	@Override
@@ -34,7 +34,7 @@ public class AuditService implements IAuditService{
 		String searchValue = SqlHelper.doLike(paramMap.get("searchValue"));
 		paramMap.put("key", paramMap.get("searchKey"));
 		paramMap.put("value", searchValue);
-		return myBatisDao.get("auditSqlMapper.countByParams", paramMap);
+		return myBatisDao.get("auditSqlMapper.countByParamsBack", paramMap);
 	}
 
 	@Override
@@ -44,7 +44,7 @@ public class AuditService implements IAuditService{
 		paramMap.put("key", paramMap.get("searchKey"));
 		paramMap.put("value", searchValue);
 		paramMap.put("pager", pager);
-		return myBatisDao.getList("auditSqlMapper.selectByParams", paramMap);
+		return myBatisDao.getList("auditSqlMapper.selectByParamsBack", paramMap);
 	}
 
 	@Override