| | |
| | | package com.consum.generator; |
| | | |
| | | import com.iplatform.generator.JdbcGeneratorEngine; |
| | | import com.walker.jdbc.service.BaseServiceImpl; |
| | | import com.walker.web.ResponseValue; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | |
| | | @GetMapping("/sc") |
| | | public ResponseValue allocatedList(String tableName) throws Exception { |
| | | this.jdbcGeneratorEngine.generateOnePoFile(tableName, "d:/tmp/" + tableName + ".zip"); |
| | | this.jdbcGeneratorEngine.generatePoFile("%", "","d:/tmp/" + tableName + ".zip"); |
| | | return ResponseValue.success(); |
| | | } |
| | | |
| | | } |