|
|
@@ -174,7 +174,7 @@ public class StorageFcbgzController {
|
|
174
|
174
|
|
|
175
|
175
|
@Scheduled(cron = "0 15 23 * * ?")
|
|
176
|
176
|
@RequestMapping(value="/timedGenerationFcbgzSplData", method = RequestMethod.GET)
|
|
177
|
|
- @ApiOperation(value="定时生成省级储备粮分仓保管账数据", notes = "每天23点15执行一次")
|
|
|
177
|
+ @ApiOperation(value="定时生成商品粮分仓保管账数据", notes = "每天23点15执行一次")
|
|
178
|
178
|
public void timedGenerationFcbgzSplData() {
|
|
179
|
179
|
try {
|
|
180
|
180
|
storageFcbgzService.timedGenerationFcbgzData(null, "3052", null);
|
|
|
@@ -199,4 +199,17 @@ public class StorageFcbgzController {
|
|
199
|
199
|
}
|
|
200
|
200
|
System.out.println("结束了");
|
|
201
|
201
|
}
|
|
|
202
|
+
|
|
|
203
|
+ @RequestMapping(value="/createHwsnjzData", method = RequestMethod.GET)
|
|
|
204
|
+ @ApiOperation(value="手动生成一个货位的上年结转数据数据", notes = "")
|
|
|
205
|
+ @ApiImplicitParams({
|
|
|
206
|
+ @ApiImplicitParam(name="orgId", value="库ID", paramType="query"),
|
|
|
207
|
+ @ApiImplicitParam(name="ch", value="仓房ID", paramType="query"),
|
|
|
208
|
+ @ApiImplicitParam(name="hwh", value="货位ID", paramType="query"),
|
|
|
209
|
+ @ApiImplicitParam(name="jznd", value="记账年度", paramType="query"),
|
|
|
210
|
+ @ApiImplicitParam(name="lsxz", value="粮食性质", paramType="query")
|
|
|
211
|
+ })
|
|
|
212
|
+ public void createHwsnjzData(String orgId, Integer ch, Integer hwh, String jznd, Integer lsxz) {
|
|
|
213
|
+ storageFcbgzService.createHwsnjzData(orgId, ch, hwh, jznd, lsxz);
|
|
|
214
|
+ }
|
|
202
|
215
|
}
|