新购绑定
This commit is contained in:
parent
ef3e01353c
commit
de3594b947
|
|
@ -83,7 +83,9 @@ public class PurchaseBindController extends BaseController {
|
||||||
* @param response
|
* @param response
|
||||||
* @param purchaseDto
|
* @param purchaseDto
|
||||||
*/
|
*/
|
||||||
|
@ApiOperation(value = "二维码生成下载")
|
||||||
@PostMapping(value = "/downloadQrCode")
|
@PostMapping(value = "/downloadQrCode")
|
||||||
|
@PreventRepeatSubmit
|
||||||
@RequiresPermissions("purchase:bpmPurchaseInfo:query")
|
@RequiresPermissions("purchase:bpmPurchaseInfo:query")
|
||||||
public void downloadQrCode(HttpServletResponse response, PurchaseDto purchaseDto) {
|
public void downloadQrCode(HttpServletResponse response, PurchaseDto purchaseDto) {
|
||||||
purchaseBindService.downloadQrCode(response, purchaseDto);
|
purchaseBindService.downloadQrCode(response, purchaseDto);
|
||||||
|
|
|
||||||
|
|
@ -56,14 +56,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="qrUrl != null">
|
<if test="qrUrl != null">
|
||||||
qr_url,
|
qr_url,
|
||||||
</if>
|
</if>
|
||||||
<if test="id != null">
|
<if test="taskId != null">
|
||||||
task_id,
|
task_id,
|
||||||
</if>
|
</if>
|
||||||
<if test="createBy != null">
|
<if test="createBy != null">
|
||||||
create_by,
|
create_by,
|
||||||
</if>
|
</if>
|
||||||
create_time,
|
create_time,
|
||||||
del_flag
|
del_flag,
|
||||||
|
status
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="VALUES (" suffix=")" suffixOverrides=",">
|
<trim prefix="VALUES (" suffix=")" suffixOverrides=",">
|
||||||
<if test="qrCode != null">
|
<if test="qrCode != null">
|
||||||
|
|
@ -75,13 +76,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="qrUrl != null">
|
<if test="qrUrl != null">
|
||||||
#{qrUrl},
|
#{qrUrl},
|
||||||
</if>
|
</if>
|
||||||
<if test="id != null">
|
<if test="taskId != null">
|
||||||
#{id},
|
#{taskId},
|
||||||
</if>
|
</if>
|
||||||
<if test="createBy != null">
|
<if test="createBy != null">
|
||||||
#{createBy},
|
#{createBy},
|
||||||
</if>
|
</if>
|
||||||
NOW(),
|
NOW(),
|
||||||
|
0,
|
||||||
0
|
0
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
@ -180,10 +182,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="taskId != null">
|
<if test="taskId != null">
|
||||||
AND pm.task_id = #{taskId}
|
AND pm.task_id = #{taskId}
|
||||||
</if>
|
</if>
|
||||||
<if test="typeId != null '">
|
<if test="typeId != null">
|
||||||
AND pm.type_id = #{typeId}
|
AND pm.type_id = #{typeId}
|
||||||
</if>
|
</if>
|
||||||
<if test="purchaseId != null '">
|
<if test="purchaseId != null">
|
||||||
AND pcd.id = #{purchaseId}
|
AND pcd.id = #{purchaseId}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue