Commit ae9c512c authored by chenzhao's avatar chenzhao

权限修改 发货单接口修改

parent ffc05880
......@@ -15,7 +15,7 @@ import java.util.List;
* @date 2024-01-02
*/
public interface WorkOrderMapper extends BaseMapper<WorkOrder> {
@UserEmpower(field = {}, dealerField = {"hygf_work_order.amos_dealer_org_code","hygf_work_order.region_code","hygf_peasant_household.developer_user_id"}, fieldConditions = {"in", "in", "in"}, relationship = "and")
@UserEmpower(field = {}, dealerField = {"hygf_work_order.amos_dealer_org_code","hygf_work_order.region_code"}, fieldConditions = {"eq", "in", }, relationship = "and")
List<WorkOrder> selectWorkOrderList(@Param("dto") WorkOrder dto);
@UserEmpower(field = {}, dealerField = {"hygf_work_order.amos_dealer_org_code","hygf_work_order.region_code","hygf_peasant_household.developer_user_id"}, fieldConditions = {"in", "in", "in"}, relationship = "and")
List<WorkOrderPage> queryForwgpage(@Param("dto") WorkOrderPage dto);
......
......@@ -15,9 +15,7 @@
) peasantHouseholdSgNum
FROM hygf_work_order
LEFT JOIN hygf_peasant_household ON hygf_peasant_household.developer_code = hygf_work_order.amos_dealer_org_code
WHERE hygf_work_order.is_delete=0
<if test="dto.workOrderNum!=null and dto.workOrderNum!=''">
and hygf_work_order.work_order_num like concat(concat("%",#{dto.workOrderNum}),"%")
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment