| | |
| | | package com.vci.web.controller; |
| | | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | | import com.vci.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.starter.web.pagemodel.BaseResult; |
| | | import com.vci.starter.web.pagemodel.DataGrid; |
| | |
| | | import com.vci.starter.web.util.LangBaseUtil; |
| | | import com.vci.dto.OsCodeGenSchemaDTO; |
| | | import com.vci.pagemodel.OsCodeGenSchemaVO; |
| | | import com.vci.starter.web.util.VciBaseUtil; |
| | | import com.vci.web.service.OsCodeGenSchemaServiceI; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | */ |
| | | @PostMapping(value = "/productCodeFile") |
| | | public BaseResult productCodeFile(String oid){ |
| | | codeGenSchemaService.productCodeFile(oid); |
| | | return BaseResult.success(); |
| | | try { |
| | | codeGenSchemaService.productCodeFile(oid); |
| | | return BaseResult.success(); |
| | | } catch (PLException e) { |
| | | e.printStackTrace(); |
| | | String exceptionMessage = VciBaseUtil.getExceptionMessage(e); |
| | | throw new VciBaseException(exceptionMessage); |
| | | } |
| | | } |
| | | |
| | | /** |