remove Desktop

This commit is contained in:
MaxKey
2021-03-24 08:16:00 +08:00
parent c1c9bb5e87
commit bb13312975
17 changed files with 3 additions and 1306 deletions

View File

@@ -1,33 +0,0 @@
/*
* Copyright [2020] [MaxKey of copyright http://www.maxkey.top]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
*
*/
package org.maxkey.persistence.mapper;
import org.apache.mybatis.jpa.persistence.IJpaBaseMapper;
import org.maxkey.domain.apps.AppsDesktopDetails;
/**
* @author Crystal.sea
*
*/
public interface AppsDesktopDetailsMapper extends IJpaBaseMapper<AppsDesktopDetails> {
public AppsDesktopDetails getAppDetails(String id);
}

View File

@@ -1,43 +0,0 @@
/*
* Copyright [2020] [MaxKey of copyright http://www.maxkey.top]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.maxkey.persistence.service;
import org.apache.mybatis.jpa.persistence.JpaBaseService;
import org.maxkey.domain.apps.AppsDesktopDetails;
import org.maxkey.persistence.mapper.AppsDesktopDetailsMapper;
import org.springframework.stereotype.Repository;
@Repository
public class AppsDesktopDetailsService extends JpaBaseService<AppsDesktopDetails>{
public AppsDesktopDetailsService() {
super(AppsDesktopDetailsMapper.class);
}
/* (non-Javadoc)
* @see com.connsec.db.service.BaseService#getMapper()
*/
@Override
public AppsDesktopDetailsMapper getMapper() {
// TODO Auto-generated method stub
return (AppsDesktopDetailsMapper)super.getMapper();
}
public AppsDesktopDetails getAppDetails(String id) {
return getMapper().getAppDetails(id);
}
}

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.maxkey.persistence.mapper.AppsDesktopDetailsMapper">
<select id="getAppDetails" parameterType="string" resultType="AppsDesktopDetails">
SELECT
*
FROM
MXK_APPS_DESKTOP_DETAILS DD,
MXK_APPS APP
WHERE
APP.ID = #{value}
AND DD.ID = #{value}
AND DD.ID = APP.ID
AND STATUS = 1
</select>
</mapper>