Commit 48ebf1bd authored by 谢希宇's avatar 谢希宇

Aidea product update by Strive Date 2020-11-11

parent f2969b5e
......@@ -197,14 +197,13 @@
<if test="sort!=null">ORDER BY ${sort.param} ${sort.type}</if>
<if test="limit>0">limit #{offset},#{limit}</if>
</select>
<select id="consultSheetList" resultType="com.cftech.consultsheet.model.ConsultSheet">
SELECT
<include refid="sqlCol"/>
from t_aidea_consult_sheet
where del_flag = 0
<if test="openid!=null">
and open_id = {openid}
and open_id = #{openid}
</if>
<if test="name!=null and name !=''">
and user_name like concat('%',#{name},'%')
......@@ -212,7 +211,10 @@
<if test="id!=null">
and id = #{id}
</if>
ORDER BY create_time
ORDER BY create_time DESC
<if test="page!=null and pageSize !='' and pageSize!=null and page !=''">
limit #{page},#{pageSize}
</if>
</select>
<update id="update" parameterType="com.cftech.consultsheet.model.ConsultSheet">
......
......@@ -51,7 +51,7 @@ public class AddressServiceImpl extends GenericServiceImpl<Address> implements A
}
@Override
public JSONObject addressList(String openId,String appId) {
public JSONObject addressList(String openId, String appId) {
JSONObject rtnJson = new JSONObject();
try {
......
......@@ -37,7 +37,7 @@ public class MobileAddressController {
* @Param
**/
@RequestMapping(value = "/addressList", method = {RequestMethod.GET, RequestMethod.POST}, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public JSONObject addressList(String openId,String appId) {
public JSONObject addressList(String openId, String appId) {
return addressService.addressList(openId,appId);
}
......
......@@ -152,7 +152,7 @@ public class MobileWxJsController {
* @param request
* @return
*/
@RequestMapping(value="signature",method = RequestMethod.GET, produces = { "application/json;charset=UTF-8" })
@RequestMapping(value="signature",method = RequestMethod.POST, produces = { "application/json;charset=UTF-8" })
public String signature(String appid,HttpServletRequest request){
return wxJsSdkService.getParam(appid, request);
}
......
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