对比新文件 |
| | |
| | | // |
| | | // Source code recreated from a .class file by IntelliJ IDEA |
| | | // (powered by FernFlower decompiler) |
| | | // |
| | | |
| | | package com.flow.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.flow.mapper.JieMiMapper; |
| | | import com.flow.pojo.Company; |
| | | import com.flow.service.JieMiService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | @Service |
| | | public class JieMiServiceImpl extends ServiceImpl<JieMiMapper, Company> implements JieMiService { |
| | | public JieMiServiceImpl() { |
| | | } |
| | | |
| | | public String JieMi(String Zong) throws Exception { |
| | | String zhi = ""; |
| | | QueryWrapper queryWrapper = new QueryWrapper(); |
| | | queryWrapper.eq("companyabbName", Zong); |
| | | Company mi = (Company)((JieMiMapper)this.baseMapper).selectOne(queryWrapper); |
| | | |
| | | if (mi!=null){ |
| | | String name = mi.getCompanyabbname(); |
| | | if (name.equals("鍗庢槦鏅烘帶")) { |
| | | zhi = "1"; |
| | | } else { |
| | | zhi = "0"; |
| | | } |
| | | }else{ |
| | | zhi = "0"; |
| | | } |
| | | |
| | | |
| | | return zhi; |
| | | } |
| | | } |