Commit 2473dbeb authored by neo's avatar neo

[DEV] add converter temp file

parent 2b05f439
......@@ -383,6 +383,12 @@
</includes>
<filtering>true</filtering><!-- replace variable attribute or not -->
</resource>
<resource>
<directory>test/resources</directory>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
......@@ -395,7 +401,7 @@
</archive>
<webResources>
<resource>
<directory>src/main/webapp-filtered</directory>
<directory>test</directory>
<includes>
<include>**</include>
</includes>
......
package pwc.taxtech.atms;
import org.apache.ibatis.io.Resources;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.BufferedReader;
import java.io.IOException;
public class ControllerApiTranslator {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(Resources.getResourceAsReader("api_temp.properties"));
String line="";
while ((line=reader.readLine())!=null){
System.out.println(line);
}
}
}
[HttpGet, Route("GetCustomsInvoicesByPeriodId/{periodId}")]
public IHttpActionResult GetCustomsInvoicesByPeriodId(int periodId)
{
return Ok(_customsInvoiceService.GetCustomsInvoicesByPeriodId(periodId));
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment