Commit 8f6fa4ee by levphon

V1.7.0需求:结清数据控制

1 parent 9436c13b
......@@ -37,7 +37,7 @@ import java.util.stream.Collectors;
*/
@Slf4j
@Service
public class HomeService {
public class HomeService extends AbstractCommonService {
@Autowired
private VehicleDeviceMapper vehicleDeviceMapper;
......
......@@ -115,6 +115,7 @@
<if test="search.appendSql != null and search.appendSql !=''">
${search.appendSql}
</if>
${settleCondition}
</select>
<select id="getActiveNumberWithAuth" resultType="cn.com.glsx.admin.modules.model.stat.StatCountModel">
......@@ -142,6 +143,7 @@
<if test="offlineSnStr != null and offlineSnStr != ''">
and tvd.sn not in (${offlineSnStr})
</if>
${settleCondition}
</select>
<select id="getVehicleDeviceByVehicleAndSn" resultMap="BaseResultMap">
......
......@@ -509,6 +509,9 @@
<if test="vehicleUsages != null">
and tv.vehicle_usages = #{vehicleUsages}
</if>
<if test="settleFlag != null">
and tv.settle_flag = #{settleFlag}
</if>
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tv.created_by,#{checkedUserIdsStr})
</if>
......@@ -603,6 +606,9 @@
<if test="vehicleUsages != null">
and tv.vehicle_usages = #{vehicleUsages}
</if>
<if test="settleFlag != null">
and tv.settle_flag = #{settleFlag}
</if>
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tv.created_by,#{checkedUserIdsStr})
</if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!