Commit 905bec2b by 杨林龙

新增权限控制

1 parent 4182aa8f
......@@ -45,6 +45,8 @@
and (
tu.account like '%${keywords}%'
or tu.username like '%${keywords}%'
or tv.vin like '%${keywords}%'
or tv.modelName like '%${keywords}%'
)
</if>
order by tu.account
......
......@@ -35,6 +35,7 @@
<result column="remark" jdbcType="VARCHAR" property="remark"/>
<result column="serve_type" jdbcType="TINYINT" property="serveType"/>
<result column="validate_status" jdbcType="TINYINT" property="validateStatus"/>
<result column="vehicle_usages" jdbcType="TINYINT" property="vehicleUsages"/>
<result column="validate_info" jdbcType="VARCHAR" property="validateInfo"/>
<result column="del_flag" jdbcType="TINYINT" property="delFlag"/>
<result column="created_date" jdbcType="TIMESTAMP" property="createdDate"/>
......
......@@ -77,6 +77,9 @@ public class VehicleServiceTest {
@Autowired
private DevicePowerFeignClient devicePowerFeignClient;
@Autowired
private RemoteDeviceService remoteDeviceService;
@Before
public void runBeforeTestMethod() {
SyntheticUser user = new SyntheticUser();
......@@ -2131,4 +2134,10 @@ public class VehicleServiceTest {
}
}
@Test
public void test13() {
TrackInfoBo trackInfoBo = remoteDeviceService.getDeviceBySn("8130902038");
System.out.println("trackInfoBo = " + JSON.toJSONString(trackInfoBo));
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!