|
|
|
@ -38,8 +38,8 @@ import org.springframework.test.context.junit4.SpringRunner;
|
|
|
|
|
@RunWith(SpringRunner.class)
|
|
|
|
|
@SpringBootTest(classes = IcApplication.class)
|
|
|
|
|
public class OrganizationInit {
|
|
|
|
|
static String sellerPath = "D:\\Backup\\桌面\\各种客户端\\bsd\\智慧导购\\初始人员数据.xlsx";
|
|
|
|
|
static String[] sellerColumns= {"店铺编码","店铺名称","姓名","账号","别名","职务","性别","手机","座机","个人邮箱","地址"};
|
|
|
|
|
static String sellerPath = "D:\\Backup\\桌面\\各种客户端\\bsd\\智慧导购\\初始人员数据20200422.xlsx";
|
|
|
|
|
static String[] sellerColumns= {"店铺","店铺编码","userid","姓名","账号","别名","职务","性别","手机","座机","个人邮箱","地址"};
|
|
|
|
|
|
|
|
|
|
static String filePath = null;
|
|
|
|
|
static String columns[] = null;
|
|
|
|
@ -143,8 +143,10 @@ public class OrganizationInit {
|
|
|
|
|
p.setStatus(1l);
|
|
|
|
|
p.setCreateTime(new Date());
|
|
|
|
|
p.setUpdateTime(new Date());
|
|
|
|
|
if(v.getCustomerUserId() != null && !v.getCustomerUserId().equals("mal")){
|
|
|
|
|
p.setCustomerUserId(Long.parseLong(v.getCustomerUserId()));
|
|
|
|
|
}
|
|
|
|
|
poiStoreStaffDOMapper.insert(p);
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
public long getType(String position){
|
|
|
|
|