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

Aidea product update by Strive Date 2020-11-11

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