Commit 243e6c8c by libin

案件附件、法律文书、被害人、人员照片、嫌疑人新增时保存xxrsksj。

parent 23c588e3
......@@ -88,6 +88,7 @@ public class TbStAsjFjController extends BladeController {
tbStAsjFj.setXxzjbh(xxzjbh);
}
tbStAsjFj.setXxscPdbz("0");
tbStAsjFj.setXxrsksj(LocalDateTime.now());
if(file!=null && !file.isEmpty()){
byte[] fileByte = null;
try {
......
......@@ -107,6 +107,7 @@ public class TbStAsjFlwsController extends BladeController {
tbStAsjFlws.setXxczryGmsfhm(xzxtUser.getPhone());
tbStAsjFlws.setXxczryXm(xzxtUser.getRealname());
tbStAsjFlws.setXxscPdbz("0");
tbStAsjFlws.setXxrsksj(LocalDateTime.now());
if(file!=null && !file.isEmpty()){
byte[] fileByte = null;
try {
......
......@@ -108,16 +108,16 @@ public class XwRybhController extends BladeController {
}
*/
/**
* 新增
*/
@PostMapping("/save")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "新增", notes = "传入xwRybh")
public R save(@Valid @RequestBody XwRybhFz xwRybh) {
xwRybhService.save(xwRybh);
return R.ok();
}
// /**
// * 新增
// */
// @PostMapping("/save")
// @ApiOperationSupport(order = 1)
// @ApiOperation(value = "新增", notes = "传入xwRybh")
// public R save(@Valid @RequestBody XwRybhFz xwRybh) {
// xwRybhService.save(xwRybh);
// return R.ok();
// }
/**
* 修改
......@@ -150,6 +150,7 @@ public class XwRybhController extends BladeController {
flag=true;
}else {
setGlRyValue(xwRybh);//更新关联表信息
xwRybh.setXxrsksj(new Date());
flag = xwRybhService.save(xwRybh);
}
}
......
......@@ -125,6 +125,7 @@ public class TbStRyZpController extends BladeController {
tbStRyZp.setXxzjbh(xxzjbh);
}
tbStRyZp.setXxscPdbz("0");
tbStRyZp.setXxrsksj(LocalDateTime.now());
if(file!=null && !file.isEmpty()){
byte[] fileByte = null;
try {
......@@ -162,6 +163,7 @@ public class TbStRyZpController extends BladeController {
tbStRyZp.setXxzjbh(xxzjbh);
}
tbStRyZp.setXxscPdbz("0");
tbStRyZp.setXxrsksj(LocalDateTime.now());
if(!StringUtils.isEmpty(tbStRyZp.getBase64Ryzp())){
String ryzp = tbStRyZp.getBase64Ryzp();
byte[] ryzpByte = Base64.getDecoder().decode(ryzp);
......
......@@ -99,15 +99,15 @@ public class XwZbfzxyrController extends BladeController {
return R.data(pages);
}*/
/**
* 新增
*/
@PostMapping("/save")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "新增", notes = "传入xwZbfzxyr")
public R save(@Valid @RequestBody XwZbfzxyrFz xwZbfzxyr) {
return R.ok().data("xwzbfzxyr",xwZbfzxyrService.save(xwZbfzxyr));
}
// /**
// * 新增
// */
// @PostMapping("/save")
// @ApiOperationSupport(order = 1)
// @ApiOperation(value = "新增", notes = "传入xwZbfzxyr")
// public R save(@Valid @RequestBody XwZbfzxyrFz xwZbfzxyr) {
// return R.ok().data("xwzbfzxyr",xwZbfzxyrService.save(xwZbfzxyr));
// }
/**
* 修改
......@@ -136,6 +136,7 @@ public class XwZbfzxyrController extends BladeController {
flag=true;
}else {
setGlRyValue(xwZbfzxyr);//更新关联表信息
xwZbfzxyr.setXxrsksj(new Date());
flag = xwZbfzxyrService.save(xwZbfzxyr);
}
}
......
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