客户管理页面查询
This commit is contained in:
@@ -253,4 +253,16 @@ public class UserPo {
|
|||||||
|
|
||||||
@ApiModelProperty("结算币种")
|
@ApiModelProperty("结算币种")
|
||||||
private String settlementCurrency;
|
private String settlementCurrency;
|
||||||
|
|
||||||
|
@ApiModelProperty("路线id")
|
||||||
|
private String lineManagementId;
|
||||||
|
|
||||||
|
@ApiModelProperty("路线编码")
|
||||||
|
private String routeCode;
|
||||||
|
|
||||||
|
@ApiModelProperty("路线名称")
|
||||||
|
private String routeName;
|
||||||
|
|
||||||
|
@ApiModelProperty("配送顺序")
|
||||||
|
private String deliveryOrder;
|
||||||
}
|
}
|
||||||
@@ -80,7 +80,11 @@
|
|||||||
a.payment_account,
|
a.payment_account,
|
||||||
a.invoice_title,
|
a.invoice_title,
|
||||||
a.tax_number,
|
a.tax_number,
|
||||||
b.SETTLEMENT_CURRENCY
|
b.SETTLEMENT_CURRENCY,
|
||||||
|
a.LINE_MANAGEMENT_ID,
|
||||||
|
a.ROUTE_CODE,
|
||||||
|
a.ROUTE_NAME,
|
||||||
|
a.DELIVERY_ORDER
|
||||||
FROM "USER" a left join USER_SHIPPER b on a.user_id = b.user_id
|
FROM "USER" a left join USER_SHIPPER b on a.user_id = b.user_id
|
||||||
where a.del_flag = 1
|
where a.del_flag = 1
|
||||||
</sql>
|
</sql>
|
||||||
@@ -244,6 +248,19 @@
|
|||||||
and a.user_id = #{userId}
|
and a.user_id = #{userId}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
<if test="lineManagementId != null and lineManagementId != ''">
|
||||||
|
and a.line_management_id = #{lineManagementId}
|
||||||
|
</if>
|
||||||
|
<if test="routeCode != null and routeCode != ''">
|
||||||
|
and a.route_code = #{routeCode}
|
||||||
|
</if>
|
||||||
|
<if test="routeName != null and routeName != ''">
|
||||||
|
and a.route_name = #{routeName}
|
||||||
|
</if>
|
||||||
|
<if test="deliveryOrder != null and deliveryOrder != ''">
|
||||||
|
and a.delivery_order = #{deliveryOrder}
|
||||||
|
</if>
|
||||||
|
|
||||||
<!-- 数据权限:南光组织(organizationId=2827)查全部,其他组织查自己 -->
|
<!-- 数据权限:南光组织(organizationId=2827)查全部,其他组织查自己 -->
|
||||||
<if test="organizationId != null">
|
<if test="organizationId != null">
|
||||||
<!-- 如果设置了 organizationId,添加 organization_id 条件 -->
|
<!-- 如果设置了 organizationId,添加 organization_id 条件 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user