@@ -215,6 +215,7 @@ public class CommonServiceImpl implements CommonService {
User user = new User();
user.setUserId(userId);
Result<User> result = userFeignClient.find(user);
+ log.info("根据id查询用户信息 param:{}, result:{}", userId, JSON.toJSONString(result));
if (verifyResult(result)) {
return result.getData();
}
@@ -146,7 +146,7 @@
<select id="getUnExecutedOrderTruckCount" resultType="java.lang.Integer">
SELECT count(1)
FROM ( select id from truck left join tms_work_order wo on truck.truck_id = wo.truck_id and wo.order_status = 0
- WHERE truck.org_id = #{orgId} and truck.tms_status = 0 and wo.id is not null
+ WHERE truck.org_id = #{orgId} and wo.id is not null
group by truck.truck_id ) tbl
</select>