智慧保安后台管理-验收版本
tangzy
2021-12-06 30df94c05573a426d030510d4dd58ae1d93bfb7a
1.资格审查排序
2 files modified
4 ■■■ changed files
src/main/java/org/springblade/modules/resource/service/impl/AttachServiceImpl.java 2 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/resource/service/impl/AttachServiceImpl.java
@@ -16,6 +16,7 @@
 */
package org.springblade.modules.resource.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.springblade.modules.resource.entity.Attach;
import org.springblade.modules.resource.vo.AttachVO;
import org.springblade.modules.resource.mapper.AttachMapper;
@@ -30,6 +31,7 @@
 * @author Chill
 */
@Service
@DS("slaves")
public class AttachServiceImpl extends BaseServiceImpl<AttachMapper, Attach> implements IAttachService {
    @Override
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -202,7 +202,7 @@
        <if test="user.securitynumber!=null and user.securitynumber != ''">
            and bu.securitynumber = #{user.securitynumber}
        </if>
        ORDER BY bu.id
        ORDER BY bu.audit_time desc
    </select>