forked from integrated_whb/integrated_whb
BUG优化
parent
86d82ec17e
commit
61a5aa1b86
|
@ -248,6 +248,7 @@ public class FreighttTrailerController extends BaseController {
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**导出到excel
|
/**导出到excel
|
||||||
* @param
|
* @param
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
|
|
|
@ -10,16 +10,16 @@ import com.zcloud.service.operatingvehicles.OperatingVehiclesService;
|
||||||
import com.zcloud.service.system.ImgFilesService;
|
import com.zcloud.service.system.ImgFilesService;
|
||||||
import com.zcloud.util.DateUtil;
|
import com.zcloud.util.DateUtil;
|
||||||
import com.zcloud.util.Jurisdiction;
|
import com.zcloud.util.Jurisdiction;
|
||||||
|
import com.zcloud.util.ObjectExcelView;
|
||||||
|
import com.zcloud.util.Tools;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.*;
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 年检管理
|
* 年检管理
|
||||||
|
@ -228,5 +228,68 @@ public class InspectAnnuallyController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**导出到excel
|
||||||
|
* @param
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
@RequestMapping(value="/excel")
|
||||||
|
// // @RequiresPermissions("toExcel")
|
||||||
|
public ModelAndView exportExcel() throws Exception{
|
||||||
|
ModelAndView mv = new ModelAndView();
|
||||||
|
PageData pd = new PageData();
|
||||||
|
pd = this.getPageData();
|
||||||
|
String DATA_IDS = pd.getString("DATA_IDS");
|
||||||
|
if(Tools.notEmpty(DATA_IDS)){
|
||||||
|
String[] ArrayDATA_IDS = DATA_IDS.split(",");
|
||||||
|
pd.put("ArrayDATA_IDS",ArrayDATA_IDS);
|
||||||
|
}
|
||||||
|
Map<String,Object> dataMap = new HashMap<String,Object>();
|
||||||
|
List<String> titles = new ArrayList<String>();
|
||||||
|
titles.add("年检车辆"); //1
|
||||||
|
titles.add("车架号"); //2
|
||||||
|
//titles.add("车身编号"); //3
|
||||||
|
titles.add("车辆类型"); //4
|
||||||
|
titles.add("运营证号"); //5
|
||||||
|
titles.add("归属部门"); //6
|
||||||
|
titles.add("车主"); //7
|
||||||
|
titles.add("车主电话"); //8
|
||||||
|
titles.add("初登日期"); //9
|
||||||
|
titles.add("发证日期"); //10
|
||||||
|
titles.add("到期日期"); //11
|
||||||
|
titles.add("车辆品牌"); //12
|
||||||
|
titles.add("车辆型号"); //13
|
||||||
|
titles.add("核定总质量"); //14
|
||||||
|
titles.add("核定载质量"); //15
|
||||||
|
//titles.add("容积"); //16
|
||||||
|
dataMap.put("titles", titles);
|
||||||
|
List<PageData> varOList = inspectAnnuallyService.listOut(pd);
|
||||||
|
List<PageData> varList = new ArrayList<PageData>();
|
||||||
|
for(int i=0;i<varOList.size();i++){
|
||||||
|
PageData vpd = new PageData();
|
||||||
|
vpd.put("var1", varOList.get(i).getString("VEHICLE"));//1
|
||||||
|
vpd.put("var2", varOList.get(i).getString("FRAMES_NUMBER"));//2
|
||||||
|
//vpd.put("var3", varOList.get(i).getString("VEHICLE_BODY_NUMBER"));//3
|
||||||
|
vpd.put("var4", varOList.get(i).getString("VEHICLE_TYPE"));//4
|
||||||
|
vpd.put("var5", varOList.get(i).getString("OPERATING_CERTIFICATE"));//5
|
||||||
|
vpd.put("var6", varOList.get(i).getString("BELONGING_DEPARTMENT"));//6
|
||||||
|
vpd.put("var7", varOList.get(i).getString("VEHICLEOWNER"));//7
|
||||||
|
vpd.put("var8", varOList.get(i).getString("VEHICLEOWNER_NUMBER"));//8
|
||||||
|
vpd.put("var9", varOList.get(i).getString("FIRSTSHOW_DATE"));//9
|
||||||
|
vpd.put("var10", varOList.get(i).getString("CERTIFICATE_DATE"));//10
|
||||||
|
vpd.put("var11", varOList.get(i).getString("EXPIRE_DATE"));//11
|
||||||
|
vpd.put("var12", varOList.get(i).getString("VEHICLE_BRAND"));//12
|
||||||
|
vpd.put("var13", varOList.get(i).getString("VEHICLE_MODEL"));//13
|
||||||
|
vpd.put("var14", varOList.get(i).getString("VOUCH_TOTALMASS"));//14
|
||||||
|
vpd.put("var15", varOList.get(i).getString("VOUCH_PAYLOAD"));//15
|
||||||
|
//vpd.put("var16", varOList.get(i).getString("VOLUME"));//16
|
||||||
|
varList.add(vpd);
|
||||||
|
}
|
||||||
|
dataMap.put("varList", varList);
|
||||||
|
ObjectExcelView erv = new ObjectExcelView();
|
||||||
|
mv = new ModelAndView(erv,dataMap);
|
||||||
|
return mv;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -286,4 +287,70 @@ public class OperatingVehiclesController extends BaseController {
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**导出到excel
|
||||||
|
* @param
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
@RequestMapping(value="/excel")
|
||||||
|
// // @RequiresPermissions("toExcel")
|
||||||
|
public ModelAndView exportExcel() throws Exception{
|
||||||
|
ModelAndView mv = new ModelAndView();
|
||||||
|
PageData pd = new PageData();
|
||||||
|
pd = this.getPageData();
|
||||||
|
String DATA_IDS = pd.getString("DATA_IDS");
|
||||||
|
if(Tools.notEmpty(DATA_IDS)){
|
||||||
|
String[] ArrayDATA_IDS = DATA_IDS.split(",");
|
||||||
|
pd.put("ArrayDATA_IDS",ArrayDATA_IDS);
|
||||||
|
}
|
||||||
|
Map<String,Object> dataMap = new HashMap<String,Object>();
|
||||||
|
List<String> titles = new ArrayList<String>();
|
||||||
|
titles.add("车牌号"); //1
|
||||||
|
titles.add("车架号"); //2
|
||||||
|
//titles.add("车身编号"); //3
|
||||||
|
titles.add("车辆类型"); //4
|
||||||
|
titles.add("运营证号"); //5
|
||||||
|
titles.add("归属部门"); //6
|
||||||
|
titles.add("车主"); //7
|
||||||
|
titles.add("车主电话"); //8
|
||||||
|
titles.add("初登日期"); //9
|
||||||
|
titles.add("发证日期"); //10
|
||||||
|
titles.add("到期日期"); //11
|
||||||
|
titles.add("车辆品牌"); //12
|
||||||
|
titles.add("车辆型号"); //13
|
||||||
|
titles.add("核定总质量"); //14
|
||||||
|
titles.add("核定载质量"); //15
|
||||||
|
//titles.add("容积"); //16
|
||||||
|
dataMap.put("titles", titles);
|
||||||
|
List<PageData> varOList = operatingVehiclesService.listOut(pd);
|
||||||
|
List<PageData> varList = new ArrayList<PageData>();
|
||||||
|
for(int i=0;i<varOList.size();i++){
|
||||||
|
PageData vpd = new PageData();
|
||||||
|
vpd.put("var1", varOList.get(i).getString("PLATE_NUMBER"));//1
|
||||||
|
vpd.put("var2", varOList.get(i).getString("FRAMES_NUMBER"));//2
|
||||||
|
//vpd.put("var3", varOList.get(i).getString("VEHICLE_BODY_NUMBER"));//3
|
||||||
|
vpd.put("var4", varOList.get(i).getString("VEHICLE_TYPE"));//4
|
||||||
|
vpd.put("var5", varOList.get(i).getString("OPERATING_CERTIFICATE"));//5
|
||||||
|
vpd.put("var6", varOList.get(i).getString("BELONGING_DEPARTMENT"));//6
|
||||||
|
vpd.put("var7", varOList.get(i).getString("VEHICLEOWNER"));//7
|
||||||
|
vpd.put("var8", varOList.get(i).getString("VEHICLEOWNER_NUMBER"));//8
|
||||||
|
vpd.put("var9", varOList.get(i).getString("FIRSTSHOW_DATE"));//9
|
||||||
|
vpd.put("var10", varOList.get(i).getString("CERTIFICATE_DATE"));//10
|
||||||
|
vpd.put("var11", varOList.get(i).getString("EXPIRE_DATE"));//11
|
||||||
|
vpd.put("var12", varOList.get(i).getString("VEHICLE_BRAND"));//12
|
||||||
|
vpd.put("var13", varOList.get(i).getString("VEHICLE_MODEL"));//13
|
||||||
|
vpd.put("var14", varOList.get(i).getString("VOUCH_TOTALMASS"));//14
|
||||||
|
vpd.put("var15", varOList.get(i).getString("VOUCH_PAYLOAD"));//15
|
||||||
|
//vpd.put("var16", varOList.get(i).getString("VOLUME"));//16
|
||||||
|
varList.add(vpd);
|
||||||
|
}
|
||||||
|
dataMap.put("varList", varList);
|
||||||
|
ObjectExcelView erv = new ObjectExcelView();
|
||||||
|
mv = new ModelAndView(erv,dataMap);
|
||||||
|
return mv;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,25 +207,24 @@ public class UsersController extends BaseController {
|
||||||
/**
|
/**
|
||||||
* 根据从业类型查询用户
|
* 根据从业类型查询用户
|
||||||
*
|
*
|
||||||
* @param page
|
* @param
|
||||||
* @return
|
* @return
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/listSelectPersonType")
|
@RequestMapping("/listSelectPersonType")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@LogAnno(menuType = "综合管理", menuServer = "特种设备", instructionsOperate = "设备管理", instructionsType = "用户列表")
|
@LogAnno(menuType = "综合管理", menuServer = "特种设备", instructionsOperate = "设备管理", instructionsType = "用户列表")
|
||||||
public Object listSelectPersonType(Page page) throws Exception {
|
public Object listSelectPersonType() throws Exception {
|
||||||
Map<String, Object> map = new HashMap<String, Object>();
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
|
|
||||||
page.setPd(pd);
|
//page.setPd(pd);
|
||||||
List<PageData> userList = usersService.userSelectPersonTypelistPage(page);//列出用户列表
|
List<PageData> userList = usersService.userSelectPersonTypelist(pd);//列出用户列表
|
||||||
map.put("userList", userList);
|
map.put("userList", userList);
|
||||||
map.put("page", page);
|
//map.put("page", page);
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
|
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,5 +61,7 @@ public interface InspectAnnuallyMapper {
|
||||||
|
|
||||||
|
|
||||||
List<PageData> annuallyList(Page page);
|
List<PageData> annuallyList(Page page);
|
||||||
|
|
||||||
|
List<PageData> listOut(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,4 +41,6 @@ public interface OperatingVehiclesMapper {
|
||||||
PageData findByfindByPlateNumber(PageData pd);
|
PageData findByfindByPlateNumber(PageData pd);
|
||||||
|
|
||||||
void setScrapStatus(PageData pd);
|
void setScrapStatus(PageData pd);
|
||||||
|
|
||||||
|
List<PageData> listOut(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -272,7 +272,7 @@ public interface UsersMapper {
|
||||||
|
|
||||||
List<PageData> studentlist(PageData pd);
|
List<PageData> studentlist(PageData pd);
|
||||||
|
|
||||||
List<PageData> userSelectPersonTypelistPage(Page page);
|
List<PageData> userSelectPersonTypelistPage(PageData pd);
|
||||||
|
|
||||||
/**从业人员列表 //userlistPage(Page page)
|
/**从业人员列表 //userlistPage(Page page)
|
||||||
* @param page
|
* @param page
|
||||||
|
@ -293,4 +293,6 @@ public interface UsersMapper {
|
||||||
* @param pd
|
* @param pd
|
||||||
*/
|
*/
|
||||||
void editPractitioner(PageData pd);
|
void editPractitioner(PageData pd);
|
||||||
|
|
||||||
|
List<PageData> userSelectPersonTypelist(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,5 +61,7 @@ public interface InspectAnnuallyService {
|
||||||
|
|
||||||
|
|
||||||
List<PageData> annuallyList(Page page);
|
List<PageData> annuallyList(Page page);
|
||||||
|
|
||||||
|
List<PageData> listOut(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,11 @@ public class InspectAnnuallyServiceImpl implements InspectAnnuallyService {
|
||||||
return inspectAnnuallyMapper.annuallyList(page);
|
return inspectAnnuallyMapper.annuallyList(page);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<PageData> listOut(PageData pd) {
|
||||||
|
return inspectAnnuallyMapper.listOut(pd);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,4 +41,6 @@ public interface OperatingVehiclesService {
|
||||||
PageData findByfindByPlateNumber(PageData pd);
|
PageData findByfindByPlateNumber(PageData pd);
|
||||||
|
|
||||||
void setScrapStatus(PageData pd);
|
void setScrapStatus(PageData pd);
|
||||||
|
|
||||||
|
List<PageData> listOut(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,4 +61,9 @@ public class OperatingVehiclesServiceImpl implements OperatingVehiclesService {
|
||||||
public void setScrapStatus(PageData pd) {
|
public void setScrapStatus(PageData pd) {
|
||||||
operatingVehiclesMapper.setScrapStatus(pd);
|
operatingVehiclesMapper.setScrapStatus(pd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<PageData> listOut(PageData pd) {
|
||||||
|
return operatingVehiclesMapper.listOut(pd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -318,7 +318,7 @@ public interface UsersService {
|
||||||
|
|
||||||
void setState(PageData request) throws Exception;
|
void setState(PageData request) throws Exception;
|
||||||
|
|
||||||
List<PageData> userSelectPersonTypelistPage(Page page);
|
List<PageData> userSelectPersonTypelistPage(PageData pageData);
|
||||||
|
|
||||||
List<PageData> studentlist(PageData pd) throws Exception;
|
List<PageData> studentlist(PageData pd) throws Exception;
|
||||||
|
|
||||||
|
@ -366,4 +366,6 @@ public interface UsersService {
|
||||||
* @param pd
|
* @param pd
|
||||||
*/
|
*/
|
||||||
void setPractitionerConfirm(PageData pd) throws Exception;
|
void setPractitionerConfirm(PageData pd) throws Exception;
|
||||||
|
|
||||||
|
List<PageData> userSelectPersonTypelist(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -669,8 +669,8 @@ public class UsersServiceImpl implements UsersService {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<PageData> userSelectPersonTypelistPage(Page page) {
|
public List<PageData> userSelectPersonTypelistPage(PageData pd) {
|
||||||
return usersMapper.userSelectPersonTypelistPage(page);
|
return usersMapper.userSelectPersonTypelistPage(pd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1328,4 +1328,9 @@ public class UsersServiceImpl implements UsersService {
|
||||||
public void setPractitionerConfirm(PageData pd) throws Exception {
|
public void setPractitionerConfirm(PageData pd) throws Exception {
|
||||||
usersMapper.setPractitionerReview(pd);
|
usersMapper.setPractitionerReview(pd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<PageData> userSelectPersonTypelist(PageData pd) {
|
||||||
|
return usersMapper.userSelectPersonTypelist(pd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -349,8 +349,8 @@
|
||||||
<if test="pd.ACCIDENTDATE != null and pd.ACCIDENTDATE != ''"><!-- 检索-处罚时间 -->
|
<if test="pd.ACCIDENTDATE != null and pd.ACCIDENTDATE != ''"><!-- 检索-处罚时间 -->
|
||||||
and f.ACCIDENTDATE = #{pd.ACCIDENTDATE}
|
and f.ACCIDENTDATE = #{pd.ACCIDENTDATE}
|
||||||
</if>
|
</if>
|
||||||
ORDER BY OPERATTIME DESC
|
ORDER BY f.OPERATTIME DESC
|
||||||
ORDER BY f.CREATETIME DESC
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="findById" resultType="com.zcloud.entity.PageData" parameterType="com.zcloud.entity.PageData">
|
<select id="findById" resultType="com.zcloud.entity.PageData" parameterType="com.zcloud.entity.PageData">
|
||||||
|
|
|
@ -160,10 +160,11 @@
|
||||||
f.CREATOR,
|
f.CREATOR,
|
||||||
f.CREATORNAME,
|
f.CREATORNAME,
|
||||||
f.CREATTIME,
|
f.CREATTIME,
|
||||||
(SELECT sd.NAME FROM sys_dictionaries sd where sd.DICTIONARIES_ID=f.ANNUAL_INSPECTION_CYCLE) as ANNUAL_INSPECTION_CYCLE_NAME
|
(SELECT sd.NAME FROM sys_dictionaries sd where sd.DICTIONARIES_ID=f.ANNUAL_INSPECTION_CYCLE) as ANNUAL_INSPECTION_CYCLE_NAME,
|
||||||
|
v.COMPANY_AREA as AREA
|
||||||
from
|
from
|
||||||
<include refid="tableName"></include>
|
<include refid="tableName"></include> f
|
||||||
f
|
left join v_traffic v on f.VEHICLE = v.ID
|
||||||
where
|
where
|
||||||
f.INSPECTANNUALLY_ID = #{INSPECTANNUALLY_ID}
|
f.INSPECTANNUALLY_ID = #{INSPECTANNUALLY_ID}
|
||||||
</select>
|
</select>
|
||||||
|
@ -222,4 +223,6 @@
|
||||||
AND
|
AND
|
||||||
f.CORPINFO_ID = #{pd.CORPINFO_ID}
|
f.CORPINFO_ID = #{pd.CORPINFO_ID}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -553,5 +553,17 @@
|
||||||
where f.ISDELETE = '0' and f.CORPINFO_ID = #{corpId}
|
where f.ISDELETE = '0' and f.CORPINFO_ID = #{corpId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="listOut" parameterType="pd" resultType="pd">
|
||||||
|
select
|
||||||
|
<include refid="Field2"></include>
|
||||||
|
from
|
||||||
|
<include refid="tableName"></include> f
|
||||||
|
where f.ISDELETE = '0'
|
||||||
|
and f.OPERATING_ID in
|
||||||
|
<foreach item="item" index="index" open="(" separator="," close=")" collection="ArrayDATA_IDS">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -1621,9 +1621,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
order by d.LEVEL asc ,d.DEP_ORDER,d.DEPARTMENT_ID asc, u.SORT asc,u.LAST_LOGIN desc
|
order by d.LEVEL asc ,d.DEP_ORDER,d.DEPARTMENT_ID asc, u.SORT asc,u.LAST_LOGIN desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 用户类型用户列表 -->
|
<select id="userSelectPersonTypelist" resultType="com.zcloud.entity.PageData">
|
||||||
<select id="userSelectPersonTypelistPage" parameterType="page" resultType="pd" >
|
select
|
||||||
select u.USER_ID,
|
u.USER_ID,
|
||||||
u.USERNAME,
|
u.USERNAME,
|
||||||
u.PASSWORD,
|
u.PASSWORD,
|
||||||
u.LAST_LOGIN,
|
u.LAST_LOGIN,
|
||||||
|
@ -1644,6 +1644,29 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
and d.DICTIONARIES_ID = '5ae743c76dbf496eb1b5101075b073d5'
|
and d.DICTIONARIES_ID = '5ae743c76dbf496eb1b5101075b073d5'
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<!-- 用户类型用户列表 -->
|
||||||
|
<select id="userSelectPersonTypelistPage" parameterType="pd" resultType="pd" >
|
||||||
|
select
|
||||||
|
u.USER_ID,
|
||||||
|
u.USERNAME,
|
||||||
|
u.PASSWORD,
|
||||||
|
u.LAST_LOGIN,
|
||||||
|
u.NAME,
|
||||||
|
u.SEX,
|
||||||
|
u.IP,
|
||||||
|
u.EMAIL,
|
||||||
|
u.NUMBER,
|
||||||
|
u.PHONE,
|
||||||
|
u.ISMAIN,
|
||||||
|
u.PUSH_CID,
|
||||||
|
r.PERSONNEL_TYPE
|
||||||
|
from <include refid="tableName"></include> u
|
||||||
|
left join sys_userinfo r on u.USER_ID = r.USER_ID
|
||||||
|
left join sys_dictionaries d on r.PERSONNEL_TYPE = d.DICTIONARIES_ID
|
||||||
|
where
|
||||||
|
u.ISDELETE = 0
|
||||||
|
and d.DICTIONARIES_ID = '5ae743c76dbf496eb1b5101075b073d5'
|
||||||
|
</select>
|
||||||
|
|
||||||
<!-- 从业人员列表 userlistPage -->
|
<!-- 从业人员列表 userlistPage -->
|
||||||
<select id="practitionerlistPage" parameterType="page" resultType="pd" >
|
<select id="practitionerlistPage" parameterType="page" resultType="pd" >
|
||||||
|
|
Loading…
Reference in New Issue