企标制修订立项计划流程 模板下载的企标类别优化
This commit is contained in:
@@ -7,6 +7,7 @@ import com.adc.da.slrs.processModel.entity.exportExcel;
|
|||||||
import com.adc.da.slrs.processModel.entity.importExcelDTO;
|
import com.adc.da.slrs.processModel.entity.importExcelDTO;
|
||||||
import com.adc.da.slrs.processModel.service.impl.IExportServiceImpl;
|
import com.adc.da.slrs.processModel.service.impl.IExportServiceImpl;
|
||||||
import com.adc.da.slrs.processModel.utils.ExcelExportUtilByWk;
|
import com.adc.da.slrs.processModel.utils.ExcelExportUtilByWk;
|
||||||
|
import com.adc.da.slrs.tsDictionaryType.service.ITsDicTypeService;
|
||||||
import com.adc.da.sys.service.IDicTypeEOService;
|
import com.adc.da.sys.service.IDicTypeEOService;
|
||||||
import com.adc.da.util.exception.AdcDaBaseException;
|
import com.adc.da.util.exception.AdcDaBaseException;
|
||||||
import com.adc.da.util.http.ResponseMessage;
|
import com.adc.da.util.http.ResponseMessage;
|
||||||
@@ -72,14 +73,16 @@ public class exportWkExcel {
|
|||||||
* 静态加载企标类别下拉框
|
* 静态加载企标类别下拉框
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
private static Map<String,Object> getBussStandTypeData(){
|
private Map<String,Object> getBussStandTypeData(){
|
||||||
Map<String,Object> resultMap = new HashMap<>();
|
Map<String,Object> resultMap = new HashMap<>();
|
||||||
List<Map<String,String>> bussStandTypeList = new ArrayList<>();
|
List<Map<String,String>> bussStandTypeList = new ArrayList<>();
|
||||||
char letter = 'A';
|
List<String> dicTypeNameList = new ArrayList<>();
|
||||||
for(letter = 'A'; letter <= 'Z'; ++letter){
|
String dicId = "NGETEMDJDI";
|
||||||
|
dicTypeNameList = dicTypeEOService.selectByDicId(dicId);
|
||||||
|
for (String dicTypeName : dicTypeNameList){
|
||||||
Map<String,String> typeMap = new HashMap<>();
|
Map<String,String> typeMap = new HashMap<>();
|
||||||
typeMap.put("label","Q/FT "+letter);
|
typeMap.put("label",dicTypeName);
|
||||||
typeMap.put("value","Q/FT "+letter);
|
typeMap.put("value",dicTypeName);
|
||||||
bussStandTypeList.add(typeMap);
|
bussStandTypeList.add(typeMap);
|
||||||
}
|
}
|
||||||
resultMap.put("BUSSSTANDCLASS",bussStandTypeList);
|
resultMap.put("BUSSSTANDCLASS",bussStandTypeList);
|
||||||
|
|||||||
+1
@@ -5,6 +5,7 @@ import com.adc.da.slrs.tsDictionaryType.dao.TsDicTypeDao;
|
|||||||
import com.adc.da.slrs.tsDictionaryType.entity.TsSearchMenu;
|
import com.adc.da.slrs.tsDictionaryType.entity.TsSearchMenu;
|
||||||
import com.adc.da.slrs.tsDictionaryType.service.ITsDicTypeService;
|
import com.adc.da.slrs.tsDictionaryType.service.ITsDicTypeService;
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|||||||
@@ -92,4 +92,6 @@ public interface DicTypeEODao extends BaseMapper<DicTypeEO> {
|
|||||||
List<DicTypeEO> selectPidByCode(@Param("fileType") String fileType);
|
List<DicTypeEO> selectPidByCode(@Param("fileType") String fileType);
|
||||||
|
|
||||||
List<DicTypeEO> selectDic(String id);
|
List<DicTypeEO> selectDic(String id);
|
||||||
|
|
||||||
|
List<String> selectByDicId(@Param("dicId") String dicId);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,4 +88,5 @@ public interface IDicTypeEOService extends IService<DicTypeEO> {
|
|||||||
|
|
||||||
public List<Map<String,String>> getDicTypeByParentCodes(String dicTypeCode);
|
public List<Map<String,String>> getDicTypeByParentCodes(String dicTypeCode);
|
||||||
|
|
||||||
|
List<String> selectByDicId(String dicId);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -278,6 +278,11 @@ public class DicTypeEOServiceImpl extends ServiceImpl<DicTypeEODao,DicTypeEO> im
|
|||||||
return listMap;
|
return listMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<String> selectByDicId(String dicId) {
|
||||||
|
return dicTypeEODao.selectByDicId(dicId);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author liwenxuan
|
* @Author liwenxuan
|
||||||
* @Description 用来企业大类判断新增是否重复
|
* @Description 用来企业大类判断新增是否重复
|
||||||
|
|||||||
@@ -649,4 +649,8 @@
|
|||||||
WHERE
|
WHERE
|
||||||
DIC_ID = #{id}
|
DIC_ID = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="selectByDicId" resultType="java.lang.String">
|
||||||
|
select DIC_TYPE_NAME from ts_dictype where dic_id = #{dicId}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user