1.2 增加往来单位类型

workplace
wangwei 11 months ago
parent c80ba75d39
commit 595651c193

@ -100,12 +100,20 @@ public class SysWorkplace implements Serializable {
@TableField(value = "unitTittle")
private String unitTittle;
/**
* ID
* basic_collect_bustypecode
*/
@TableField(value = "orderId")
private String orderId;
/**
* 1:,2:,3:,4:
*/
@TableField(value = "corpType")
private Integer corpType;
@TableField(exist = false)
private String invName;

@ -75,5 +75,6 @@ public class UserWorkResponse {
private String employeeName;
private String userName;
private Integer corpType;
}

@ -2,8 +2,8 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.api.dao.basic.BasicCollectUserMapper">
<select id="filterList" resultType="com.glxp.api.res.basic.UserWorkResponse">
select bcu.id,sw.workplaceName,sw.invCode,sw.workplaceId,sw.constituencies,sw.operationType,sw.checkInsert,sw.warnType,sw.unitTittle,
au.userName,au.employeeName
select bcu.id,sw.workplaceName,sw.invCode,sw.workplaceId,sw.constituencies,sw.operationType,sw.checkInsert,sw.warnType,sw.unitTittle,sw.corpType,
au.userName,au.employeeName,sw.createTime as createTime
from basic_collect_user bcu
left join auth_user au on bcu.userId = au.id
left join sys_workplace sw on bcu.workplaceCode = sw.workplaceId

Loading…
Cancel
Save