lige
2023-10-23 f98a54040341f7a33e0849532007849ee9597aee
ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOrderController.java
@@ -500,7 +500,9 @@
                    order.setTjCustomerAge(DateUtil.ageOfNow(tjCustomer.getCusBrithday()));
                    order.setTjCustomerName(MatchUtils.hideCusName(tjCustomer.getCusName()));
                    order.setTjCustomerPhone(MatchUtils.hidePhoneNum(tjCustomer.getCusPhone()));
                    order.setTjCusIdCard(MatchUtils.hideIdCardNum(tjCustomer.getCusIdcard()));
                    if (tjCustomer.getCusIdcard()!=null){
                        order.setTjCusIdCard(MatchUtils.hideIdCardNum(tjCustomer.getCusIdcard()));
                    }
                }
                String firmId = order.getFirmId();
                if (firmId != null && null != iDictCompService.getById(String.valueOf(order.getFirmId()))) {
@@ -744,6 +746,24 @@
        return success(tjOrderService.selectTjOrderByOrderId(orderId));
    }
    @GetMapping("/getIsRequired")
    @ApiOperation(value = "根据参数配置获取是否必填项(身份证、性别、电话、照片、是否直接下单)")
    public AjaxResult getIsRequired() {
        Map<String,String> res=new HashMap<>();
        res.put("has_idcard",configService.selectConfigByKey("has_idcard"));
        res.put("has_sex",configService.selectConfigByKey("has_sex"));
        res.put("is_phone",configService.selectConfigByKey("is_phone"));
        res.put("mall_hasPhoto",configService.selectConfigByKey("mall_hasPhoto"));
        res.put("has_charge",configService.selectConfigByKey("has_charge"));
        return AjaxResult.success(res);
    }
    /**
     * 体检签到登记接口
     */