bug
jiangqs
2023-09-11 3adbcc42d5f84c3c83d220543189361add81e04d
ruoyi-modules/ruoyi-system/src/test/java/com/ruoyi/system/systemTest.java
@@ -1,7 +1,10 @@
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;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@@ -22,4 +25,21 @@
    @Resource
    private SysWxCpService sysWxCpService;
    @Resource
    private SysStaffService sysStaffService;
    @Test
    public void main() {
        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);
    }
}