Commit a0945e48 by zhengxj

finish 修正控制台统计时间跨度 on 20190222 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@17655 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent b4809f64
...@@ -118,7 +118,7 @@ public class SysOrganizationServiceImpl implements ISysOrganizationService{ ...@@ -118,7 +118,7 @@ public class SysOrganizationServiceImpl implements ISysOrganizationService{
// 根据名字所搜索 // 根据名字所搜索
if (StringUtils.isNotNull(orgName)&&orgStatus == null) { if (StringUtils.isNotNull(orgName)&&orgStatus == null) {
// criteria.andNameLike(name+"%"); // criteria.andNameLike(name+"%");
criteria.andOrgStatusBetween((byte) 0, (byte) 1); criteria.andOrgStatusBetween((byte)1, (byte) 2);
resultList = orgDao.selectByExample(example); resultList = orgDao.selectByExample(example);
return useListRecordToTreeByKeywords(resultList,orgName); return useListRecordToTreeByKeywords(resultList,orgName);
......
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
column="{id=id,org_status=org_status}" column="{id=id,org_status=org_status}"
select="findOrgByParentId"/> select="findOrgByParentId"/>
</resultMap> </resultMap>
<select id="findOrgByParentId" resultMap="recursionOrgResultMap"> <select id="findOrgByParentId" resultMap="BaseResultMap">
SELECT SELECT
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
from sys_organization WHERE parent_id = #{id} from sys_organization WHERE parent_id = #{id}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!