|
@@ -105,6 +105,13 @@ public class JwtdFfxcController extends BladeController {
|
|
jwtdFfxcLllsService.save(jfls);
|
|
jwtdFfxcLllsService.save(jfls);
|
|
JwtdFfxcEntity detail = jwtdFfxcService.detailApp(jwtdFfxc);
|
|
JwtdFfxcEntity detail = jwtdFfxcService.detailApp(jwtdFfxc);
|
|
detail.setLsId(jfls.getId());
|
|
detail.setLsId(jfls.getId());
|
|
|
|
+ List<JwtdFfxcLllsEntity> jwtdFfxcLllsEntities = jwtdFfxcLllsService.selectLllsByUserIdAndFfxcId(jfls);
|
|
|
|
+ for (JwtdFfxcLllsEntity ryls : jwtdFfxcLllsEntities) {
|
|
|
|
+ if (ryls.getLlzt().equals("1") && ryls.getJf() != 0) {
|
|
|
|
+ detail.setType("1");
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
return R.data(detail);
|
|
return R.data(detail);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -127,7 +134,7 @@ public class JwtdFfxcController extends BladeController {
|
|
@ApiOperationSupport(order = 3)
|
|
@ApiOperationSupport(order = 3)
|
|
@Operation(summary = "分页", description = "传入jwtdFfxc")
|
|
@Operation(summary = "分页", description = "传入jwtdFfxc")
|
|
public R<IPage<JwtdFfxcEntity>> page(JwtdFfxcVO jwtdFfxc, Query query) {
|
|
public R<IPage<JwtdFfxcEntity>> page(JwtdFfxcVO jwtdFfxc, Query query) {
|
|
- IPage<JwtdFfxcEntity> pages = jwtdFfxcService.selectJwtdFfxcPage(Condition.getPage(query), jwtdFfxc);
|
|
|
|
|
|
+ IPage<JwtdFfxcEntity> pages = jwtdFfxcService.selectJwtdFfxcPage(Condition.getPage(query), jwtdFfxc) ;
|
|
for (JwtdFfxcEntity jwtdFfxcVO : pages.getRecords()) {
|
|
for (JwtdFfxcEntity jwtdFfxcVO : pages.getRecords()) {
|
|
List<String> file = new ArrayList<>();
|
|
List<String> file = new ArrayList<>();
|
|
String input = jwtdFfxcVO.getXcnr();
|
|
String input = jwtdFfxcVO.getXcnr();
|