bug
jiangqs
2023-09-11 3adbcc42d5f84c3c83d220543189361add81e04d
ruoyi-modules/ruoyi-system/src/test/java/com/ruoyi/system/systemTest.java
@@ -1,6 +1,8 @@
package com.ruoyi.system;
import com.ruoyi.system.domain.dto.MgtStaffEditDto;
import com.ruoyi.system.service.staff.SysStaffService;
import com.ruoyi.system.service.staff.SysWxCpService;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -23,8 +25,21 @@
    @Resource
    private SysWxCpService sysWxCpService;
    @Resource
    private SysStaffService sysStaffService;
    @Test
    public void main() {
        sysWxCpService.syncDepartment();
        MgtStaffEditDto mgtStaffEditDto = new MgtStaffEditDto();
        mgtStaffEditDto.setDeptId(2051L);
        mgtStaffEditDto.setSysUserId(146L);
        mgtStaffEditDto.setStaffName("江秋实1号");
        mgtStaffEditDto.setStaffMobile("13882237106");
        mgtStaffEditDto.setStaffPost("开发");
        mgtStaffEditDto.setHeadFlag("1");
        mgtStaffEditDto.setUserId(146L);
        sysStaffService.mgtStaffEdit(mgtStaffEditDto);
    }
}