| | |
| | | return spplyParameter; |
| | | } |
| | | |
| | | /**企业小程序 |
| | | * @param mpAppId |
| | | * @param commonService |
| | | * @return |
| | | */ |
| | | public static ApplyParameter getMpParameter(String mpAppId, CommonService commonService){ |
| | | SqlSentence sqlSentence = new SqlSentence(); |
| | | Map<String,Object> values = new HashMap<>(); |
| | | |
| | | values.put("isDel",ApplyParameter.NO); |
| | | values.put("mpAppId",mpAppId); |
| | | values.put("type",ApplyParameter.TYPE_CORP_MP); |
| | | sqlSentence.sqlSentence("SELECT * FROM pla_apply_parameter WHERE isDel = #{m.isDel} AND type = #{m.type} AND mpAppId = #{m.mpAppId} ",values); |
| | | ApplyParameter spplyParameter = commonService.selectOne(ApplyParameterMapper.class,sqlSentence); |
| | | return spplyParameter; |
| | | } |
| | | |
| | | |
| | | } |